| ADD alpine-minirootfs-3.23.4-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ARG BUILD_DATE |
| ARG VERSION |
| LABEL build_version=dnix baseimage version:- build-date:- |
| LABEL maintainer=an@dnix.de |
| /bin/sh -c apk add --no-cache tini |
| COPY dir:f28331bb60a9d6b2bd9c3c143f70f32ba87b7d31496bc25e231eefd2f7451a4f in / |
| ENTRYPOINT ["/sbin/tini" "--"] |
| ARG BUILD_DATE |
| ARG VERSION |
| ENV NGINX_VERSION=1.30.1 |
| /bin/sh -c build_pkgs="build-base linux-headers openssl-dev pcre-dev wget zlib-dev" && runtime_pkgs="ca-certificates openssl pcre zlib tzdata git" && apk --no-cache add ${build_pkgs} ${runtime_pkgs} && cd /tmp && wget https://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz && tar xzf nginx-${NGINX_VERSION}.tar.gz && cd /tmp/nginx-${NGINX_VERSION} && ./configure --prefix=/etc/nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --lock-path=/var/run/nginx.lock --http-client-body-temp-path=/var/cache/nginx/client_temp --http-proxy-temp-path=/var/cache/nginx/proxy_temp --http-fastcgi-temp-path=/var/cache/nginx/fastcgi_temp --http-uwsgi-temp-path=/var/cache/nginx/uwsgi_temp --http-scgi-temp-path=/var/cache/nginx/scgi_temp --user=nginx --group=nginx --with-http_ssl_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_random_index_module --with-http_secure_link_module --with-http_stub_status_module --with-http_auth_request_module --with-mail --with-mail_ssl_module --with-file-aio --with-threads --with-stream --with-stream_ssl_module --with-stream_realip_module --with-http_slice_module --with-http_v2_module && make && make install && sed -i -e 's/#access_log logs\/access.log main;/access_log \/dev\/stdout;/' -e 's/#error_log logs\/error.log notice;/error_log stderr notice;/' /etc/nginx/nginx.conf && addgroup -S nginx && adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G nginx nginx && rm -rf /tmp/* && apk del ${build_pkgs} && rm -rf /var/cache/apk/* |
| COPY file:0120893fbc51c1a17b05f33ea353f832a8e16c7f31be7aad636eb91280691f68 in /etc/nginx/html/ |
| COPY file:5db23b55dc2799e347a6b8bc3f0ebb7490aba8655b8ecdf9d2cdc8ebe332a9d4 in /etc/nginx/nginx.conf |
| VOLUME [/var/cache/nginx] |
| EXPOSE 443 80 |
| CMD ["nginx"] |