use nxbuilder:alpine
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Daniel Wolf 2022-05-30 16:25:02 -04:00
parent 4ad316c1ac
commit 92d4e22f6b
Signed by: nephatrine
GPG Key ID: 59D70EC2E4AAB4D0
1 changed files with 4 additions and 4 deletions

View File

@ -1,13 +1,13 @@
FROM nephatrine/alpine:builder AS builder
FROM nephatrine/nxbuilder:alpine AS builder
RUN echo "====== INSTALL LIBRARIES ======" \
&& apk add --no-cache gd-dev geoip-dev libatomic_ops-dev libxml2-dev libxslt-dev openssl-dev pcre-dev zlib-dev
&& apk add --no-cache gd-dev geoip-dev libatomic_ops-dev libxslt-dev pcre-dev
ARG NGINX_VERSION=branches/default
RUN git -C /usr/src clone -b "$NGINX_VERSION" --single-branch --depth=1 https://github.com/nginx/nginx.git
RUN git -C ${HOME} clone -b "$NGINX_VERSION" --single-branch --depth=1 https://github.com/nginx/nginx.git
RUN echo "====== COMPILE NGINX ======" \
&& cd /usr/src/nginx \
&& cd ${HOME}/nginx \
&& ./auto/configure \
--prefix=/var/www \
--sbin-path=/usr/sbin/nginx \