Skip to content

Commit

Permalink
Merge pull request #1180 from Amsterdam/improvement/update-redis-alpine
Browse files Browse the repository at this point in the history
Improvement/update redis alpine
  • Loading branch information
remyvdwereld authored Dec 2, 2023
2 parents bd7d491 + 7e80ce8 commit 6b46767
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 6 deletions.
4 changes: 3 additions & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pipeline {
tag_and_deploy(env.ZAKEN_IMAGE_URL, env.ZAKEN_NAME, env.ACCEPTANCE)
tag_and_deploy(env.OPEN_ZAAK_IMAGE_URL, env.OPEN_ZAAK_NAME, env.ACCEPTANCE)
tag_and_deploy(env.OPEN_NOTIFICATIES_IMAGE_URL, env.OPEN_NOTIFICATIES_NAME, env.ACCEPTANCE)
tag_and_deploy(env.REDIS_IMAGE_URL, env.REDIS_NAME, env.ACCEPTANCE)
// tag_and_deploy(env.REDIS_IMAGE_URL, env.REDIS_NAME, env.ACCEPTANCE)
}
}

Expand All @@ -109,6 +109,7 @@ pipeline {
tag_and_deploy(env.ZAKEN_IMAGE_URL, env.ZAKEN_NAME, env.PRODUCTION)
// tag_and_deploy(env.OPEN_ZAAK_IMAGE_URL, env.OPEN_ZAAK_NAME, env.PRODUCTION)
// tag_and_deploy(env.OPEN_NOTIFICATIES_IMAGE_URL, env.OPEN_NOTIFICATIES_NAME, env.PRODUCTION)
tag_and_deploy(env.REDIS_IMAGE_URL, env.REDIS_NAME, env.PRODUCTION)
}
}
}
Expand All @@ -118,6 +119,7 @@ pipeline {
remove_image(env.ZAKEN_IMAGE_URL)
remove_image(env.OPEN_ZAAK_IMAGE_URL)
remove_image(env.OPEN_NOTIFICATIES_IMAGE_URL)
remove_image(env.REDIS_IMAGE_URL)
}
}
}
10 changes: 5 additions & 5 deletions redis/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM redis:6.2.14-alpine3.18

ENV REQUESTS_CA_BUNDLE /etc/ssl/certs/ca-certificates.crt

# Setup Certificates for ADP/Motiv
COPY app/certificates/adp_rootca.crt /usr/local/share/ca-certificates/adp_rootca.crt
RUN chmod 644 /usr/local/share/ca-certificates/adp_rootca.crt \
&& update-ca-certificates --fresh
COPY adp_rootca.crt /usr/local/share/ca-certificates/adp_rootca.crt
RUN cat /usr/local/share/ca-certificates/adp_rootca.crt >> /etc/ssl/cert.pem
RUN apk update && \
apk add --no-cache ca-certificates && \
update-ca-certificates --fresh

RUN apk add --no-cache gettext
COPY redis.conf.template /usr/local/etc/redis/redis.conf.template
Expand Down
31 changes: 31 additions & 0 deletions redis/adp_rootca.crt
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
-----BEGIN CERTIFICATE-----
MIIFVDCCAzygAwIBAgIQPVjMoVC1Dq5AEwir99iRkTANBgkqhkiG9w0BAQsFADAc
MRowGAYDVQQDExFBbXN0ZXJkYW0tUm9vdC1DQTAeFw0xNDA2MDYwOTQwNDZaFw0z
NDA2MDYwOTUwMzhaMBwxGjAYBgNVBAMTEUFtc3RlcmRhbS1Sb290LUNBMIICIjAN
BgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAv1IXzzaZZab1iDDLYDGTOYcxoSZE
S0GS2nI0PYEAvcKPojqIdr3VzhgSYFlOaX3t+E+w8DjF0clzVdH730vf/ofAi3NZ
WC1XjupAyaTbnbr05ww9+pE7+LzVEbGTYJue4K6TwH1jUNo1qSA7DC5370s5/kr2
h8dpzZwqMMpUssvMS4laqtHokZpuaWZ7akWRXApRqSy2aWExJ+lfCrKbZVl+RMkz
Y36fvJj/gRSLZrCYD9fV7hngKoDfDnUJG7NO31CopF/+9RgjMT8S9DwfL3MKy1Uw
szEOtnwiuYKBrKY59guTfgRXIy/DRfDR8+1XwrcuXQNdRUgztdX6OQhbv396GScm
9EDnDVWCtV+oSH4LAIjhxCeRDjCxRhxuO4P/TpUwjW6vpx7j7tFOSf9YJcwPcMqi
eoHdde7JkQTTXzzVe1tP8ybCaqI+THs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