sp-containers/files/images/sp-shibboleth/base/Dockerfile

33 lines
996 B
Docker
Raw Normal View History

2023-06-13 09:10:14 +02:00
FROM reg.cadoles.com/proxy_cache/library/debian:bookworm-slim
2023-06-05 15:24:42 +02:00
RUN export DEBIAN_FRONTEND=noninteractive && \
2023-06-13 09:10:14 +02:00
apt-get update -y && apt-get upgrade -y
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get install -y libapache2-mod-shib php-fpm curl
2023-06-05 15:24:42 +02:00
RUN a2enmod rewrite expires headers remoteip ssl \
proxy proxy_fcgi proxy_http proxy_balancer \
lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat
2023-06-13 09:10:14 +02:00
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get clean -y
2023-06-05 15:24:42 +02:00
EXPOSE 80
COPY files/common/healthcheck /usr/local/share/cadoles/healthcheck
COPY files/common/scripts /usr/local/share/cadoles/scripts
SHELL ["/bin/bash", "-c"]
CMD ["/bin/bash"]
# ========= Child image build triggers ==========
ONBUILD COPY . /app
ONBUILD ARG ADDITIONAL_PACKAGES
ONBUILD ARG INSTALL_DEPENDENCIES
ONBUILD ARG INSTALL_COMPOSER_DEPENDENCIES
ONBUILD ARG INSTALL_NPM_DEPENDENCIES
2023-06-13 09:10:14 +02:00
ONBUILD RUN bash /usr/local/share/cadoles/scripts/install-dependencies.sh