Skip to content

Commit

Permalink
fix(alpine-node-nginx): correct dockerfile for generic docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Heymdall committed Mar 28, 2024
1 parent 014cec0 commit edc4908
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions packages/alpine-node-nginx/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,7 @@ RUN \
curl \
gnupg \
libxslt-dev \
gd-dev \
geoip-dev
gd-dev
RUN \
apk add --no-cache --virtual .brotli-build-deps \
tar \
Expand Down Expand Up @@ -95,10 +94,7 @@ RUN \
&& ./configure $NGNIX_CONFIG --with-debug \
&& make -j$(getconf _NPROCESSORS_ONLN) \
&& mv objs/nginx objs/nginx-debug \
&& mv objs/ngx_http_xslt_filter_module.so objs/ngx_http_xslt_filter_module-debug.so \
&& mv objs/ngx_http_image_filter_module.so objs/ngx_http_image_filter_module-debug.so \
&& mv objs/ngx_http_geoip_module.so objs/ngx_http_geoip_module-debug.so \
&& mv objs/ngx_stream_geoip_module.so objs/ngx_stream_geoip_module-debug.so \
&& ./configure $NGNIX_CONFIG \
&& make -j$(getconf _NPROCESSORS_ONLN)

Expand All @@ -111,10 +107,7 @@ RUN \
&& install -m644 html/index.html /usr/share/nginx/html/ \
&& install -m644 html/50x.html /usr/share/nginx/html/ \
&& install -m755 objs/nginx-debug /usr/sbin/nginx-debug \
&& install -m755 objs/ngx_http_xslt_filter_module-debug.so /usr/lib/nginx/modules/ngx_http_xslt_filter_module-debug.so \
&& install -m755 objs/ngx_http_image_filter_module-debug.so /usr/lib/nginx/modules/ngx_http_image_filter_module-debug.so \
&& install -m755 objs/ngx_http_geoip_module-debug.so /usr/lib/nginx/modules/ngx_http_geoip_module-debug.so \
&& install -m755 objs/ngx_stream_geoip_module-debug.so /usr/lib/nginx/modules/ngx_stream_geoip_module-debug.so \
&& strip /usr/sbin/nginx* \
&& strip /usr/lib/nginx/modules/*.so \
&& apk add --no-cache --virtual .gettext gettext \
Expand Down

0 comments on commit edc4908

Please sign in to comment.