fix(shibboleth): updating image

This commit is contained in:
Philippe Caseiro 2023-06-13 09:10:14 +02:00
parent dd030ec3fa
commit 48719051ff
2 changed files with 10 additions and 5 deletions

View File

@ -3,7 +3,7 @@
################################ ################################
IMAGE_REPO := reg.cadoles.com/cadoles IMAGE_REPO := reg.cadoles.com/cadoles
IMAGE_VERSION ?= 0.0.1 IMAGE_VERSION ?= 0.0.2
DAY_SUFFIX_TAG ?= $(shell date +%Y%m%d) DAY_SUFFIX_TAG ?= $(shell date +%Y%m%d)

View File

@ -1,14 +1,19 @@
FROM reg.cadoles.com/proxy_cache/library/debian:stable-slim FROM reg.cadoles.com/proxy_cache/library/debian:bookworm-slim
RUN export DEBIAN_FRONTEND=noninteractive && \ RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update -y && \ apt-get update -y && apt-get upgrade -y
apt-get install -y libapache2-mod-shib php-fpm
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y libapache2-mod-shib php-fpm curl
RUN a2enmod rewrite expires headers remoteip ssl \ RUN a2enmod rewrite expires headers remoteip ssl \
proxy proxy_fcgi proxy_http proxy_balancer \ proxy proxy_fcgi proxy_http proxy_balancer \
lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get clean -y
EXPOSE 80 EXPOSE 80
COPY files/common/healthcheck /usr/local/share/cadoles/healthcheck COPY files/common/healthcheck /usr/local/share/cadoles/healthcheck
@ -24,4 +29,4 @@ ONBUILD ARG ADDITIONAL_PACKAGES
ONBUILD ARG INSTALL_DEPENDENCIES ONBUILD ARG INSTALL_DEPENDENCIES
ONBUILD ARG INSTALL_COMPOSER_DEPENDENCIES ONBUILD ARG INSTALL_COMPOSER_DEPENDENCIES
ONBUILD ARG INSTALL_NPM_DEPENDENCIES ONBUILD ARG INSTALL_NPM_DEPENDENCIES
ONBUILD RUN . /usr/local/share/cadoles/scripts/install-dependencies.sh ONBUILD RUN bash /usr/local/share/cadoles/scripts/install-dependencies.sh