diff --git a/Jenkinsfile b/Jenkinsfile index 60becfbe3..d64a838c9 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -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) } } @@ -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) } } } @@ -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) } } } diff --git a/redis/Dockerfile b/redis/Dockerfile index 80a014876..f44056692 100644 --- a/redis/Dockerfile +++ b/redis/Dockerfile @@ -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 diff --git a/redis/adp_rootca.crt b/redis/adp_rootca.crt new file mode 100644 index 000000000..90269c2db --- /dev/null +++ b/redis/adp_rootca.crt @@ -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+THsUD4t39HLp90WwWqwkd6m0lRns03e6qOl8 +EthbLkhsSQHAQGvHVzBttEPxpfVy+zQtXIrUX7svfLzS2BYmsJzTvmWHfijItbG5 +BfWnwj/Gpf2erdRQLuTOZkRajtyade58tcaN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