Skip to content
Snippets Groups Projects
Commit f03102f1 authored by nimrod's avatar nimrod
Browse files

fixup! LAM: Use the httpd base image.

parent 8f564324
No related branches found
No related tags found
No related merge requests found
Pipeline #4211 failed
...@@ -8,12 +8,12 @@ RUN apt-get update && \ ...@@ -8,12 +8,12 @@ RUN apt-get update && \
patch \ patch \
&& \ && \
rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/* rm -rf /tmp/* /var/tmp/* /var/lib/apt/lists/* /var/cache/apt/archives/*
USER www-data
COPY --chown=root:root patch.diff /root/ COPY --chown=root:root patch.diff /root/
COPY --chown=root:root entrypoint /usr/local/bin/ COPY --chown=root:root entrypoint /usr/local/bin/
COPY --chown=root:root lam-setpass /usr/local/bin/ COPY --chown=root:root lam-setpass /usr/local/bin/
RUN patch --strip 0 --verbose --directory / --input /root/patch.diff && \ RUN patch --strip 0 --verbose --directory / --input /root/patch.diff && \
apache2 -t apache2 -t
USER www-data
ENV LDAP_URI=ldapi:/// ENV LDAP_URI=ldapi:///
ENTRYPOINT [ "entrypoint" ] ENTRYPOINT [ "entrypoint" ]
HEALTHCHECK CMD wget --spider --quiet http://localhost/lam/ --user-agent 'Healthcheck' || exit 1 HEALTHCHECK CMD wget --spider --quiet http://localhost/lam/ --user-agent 'Healthcheck' || exit 1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment