fix: Docker image is missing build dependencies

PKCEwithPublicRP
Sébastien NOBILI 1 year ago committed by Clément OUDOT
parent 971f703836
commit 1caceb51a8
  1. 5
      Dockerfile

@ -4,13 +4,16 @@ WORKDIR /tmp/
COPY debian/control /tmp/
RUN apt-get update && \
apt-get install -y --no-install-recommends devscripts/stable equivs/stable libauthen-webauthn-perl/stable && \
apt-get install -y --no-install-recommends devscripts/stable equivs/stable libauthen-webauthn-perl/stable yui-compressor/stable python3-sphinx/stable python3-sphinx-bootstrap-theme/stable cpanminus/stable uglifyjs/stable coffeescript/stable && \
mk-build-deps /tmp/control && \
apt-get install -y --no-install-recommends /tmp/lemonldap-ng-build-deps*deb && \
apt-get purge -y devscripts equivs && apt-get autoremove -y && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
COPY Makefile /tmp/
RUN cpanm "Perl::Tidy@$(make tidyversion)"
WORKDIR /app/
ENV LLNG_DEFAULTCONFFILE="/app/dev/lemonldap-ng.ini"

Loading…
Cancel
Save