Skip to content

Commit

Permalink
fix: corrige l'emplacement du module pkg-oss
Browse files Browse the repository at this point in the history
  • Loading branch information
thom4parisot committed Oct 8, 2024
1 parent e6fab45 commit c1a3800
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions front/dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,14 @@ COPY ./ /modules/
RUN set -ex \
&& apk update \
&& apk add linux-headers openssl-dev pcre-dev zlib-dev openssl abuild \
musl-dev libxslt libxml2-utils make mercurial gcc unzip git \
musl-dev libxslt libxml2-utils make gcc unzip git \
xz g++ \
# allow abuild as a root user \
&& printf "#!/bin/sh\\n/usr/bin/abuild -F \"\$@\"\\n" > /usr/local/bin/abuild \
&& chmod +x /usr/local/bin/abuild \
&& hg clone -r ${NGINX_VERSION}-${PKG_RELEASE} https://hg.nginx.org/pkg-oss/ \
&& curl -f -sSLO https://github.com/nginx/pkg-oss/archive/${NGINX_VERSION}-${PKG_RELEASE}.tar.gz \
&& mkdir pkg-oss \
&& tar xzvf ${NGINX_VERSION}-${PKG_RELEASE}.tar.gz -C pkg-oss --strip-components 1 \
&& cd pkg-oss \
&& mkdir /tmp/packages \
&& for module in "$ENABLED_MODULES"; do \
Expand Down

0 comments on commit c1a3800

Please sign in to comment.