diff options
author | Krzysztof Gajewski <krzysztof.gajewski@nokia.com> | 2021-02-15 23:41:16 +0100 |
---|---|---|
committer | Marcin Przybysz <marcin.przybysz@nokia.com> | 2021-02-26 14:06:55 +0000 |
commit | aadaad68888217c76e06adf633a4d8b97d39779e (patch) | |
tree | 07ce01704e2744c10eb47f4f8c22de00411d4fa5 /test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http-https | |
parent | c0b6b6cfc2448e9c513107940fba7b46fc6362ed (diff) |
Add JWT support in HTTP/HTTPS based locations - integration
Issue-ID: DCAEGEN2-2536
Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com>
Change-Id: I334c66c025e1f3ef59393c3a0fe69493d4a3b5fa
Diffstat (limited to 'test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http-https')
-rw-r--r-- | test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http-https | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http-https b/test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http-https index c1f85596c..5a5037f3e 100644 --- a/test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http-https +++ b/test/mocks/datafilecollector-testharness/http-https-server/Dockerfile-http-https @@ -1,15 +1,19 @@ -FROM httpd:alpine +FROM httpd:2.4 -RUN apk update +RUN apt-get update ENV APACHE_LOG_DIR /usr/local/apache2/logs COPY --chown=root:root apache2/conf /usr/local/apache2/conf COPY --chown=root:root apache2/conf/extra /usr/local/apache2/conf/extra +COPY --chown=root:root ./apache2/lib/libjwt.so.1.7.0 /usr/lib/x86_64-linux-gnu/libjwt.so.1 +COPY --chown=root:root ./apache2/modules/mod_authnz_jwt.so /usr/local/apache2/modules/mod_authnz_jwt.so RUN chmod 644 /usr/local/apache2/conf/.htpasswd RUN chmod 644 /usr/local/apache2/conf/httpd.conf RUN chmod 644 /usr/local/apache2/conf/extra/httpd-ssl.conf +RUN chmod 644 /usr/lib/x86_64-linux-gnu/libjwt.so.1 +RUN chmod 644 /usr/local/apache2/modules/mod_authnz_jwt.so RUN mkdir /usr/local/apache2/certs RUN chown root:root /usr/local/apache2/certs |