use openssl instead of libressl
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
3a1b3ebd79
commit
0f9bb96307
|
@ -1,2 +1,2 @@
|
|||
fix-perms.sh
|
||||
sign-build.sh
|
||||
test-build.sh
|
||||
|
|
39
Dockerfile
39
Dockerfile
|
@ -1,26 +1,21 @@
|
|||
FROM nephatrine/alpine-s6:latest
|
||||
LABEL maintainer="Daniel Wolf <nephatrine@gmail.com>"
|
||||
|
||||
RUN echo "====== INSTALL PACKAGES ======" \
|
||||
&& apk add certbot geoip libgd libxslt pcre py3-pip \
|
||||
&& pip install zope.component \
|
||||
&& rm -rf /var/cache/apk/*
|
||||
|
||||
ARG NGINX_VERSION=branches/default
|
||||
|
||||
RUN echo "====== COMPILE NGINX ======" \
|
||||
&& apk add --virtual .build-nginx \
|
||||
build-base \
|
||||
gd-dev \
|
||||
geoip-dev \
|
||||
git \
|
||||
libatomic_ops-dev \
|
||||
libressl-dev \
|
||||
libxml2-dev \
|
||||
libxslt-dev \
|
||||
linux-headers \
|
||||
pcre-dev \
|
||||
zlib-dev \
|
||||
&& apk add \
|
||||
certbot \
|
||||
geoip \
|
||||
libgd libxslt \
|
||||
pcre \
|
||||
py3-pip \
|
||||
&& apk add --virtual .build-nginx build-base \
|
||||
gd-dev geoip-dev git \
|
||||
libatomic_ops-dev libxml2-dev libxslt-dev linux-headers \
|
||||
openssl-dev \
|
||||
pcre-dev \
|
||||
zlib-dev \
|
||||
&& pip install zope.component \
|
||||
&& git -C /usr/src clone -b "$NGINX_VERSION" --single-branch --depth=1 https://github.com/nginx/nginx.git && cd /usr/src/nginx \
|
||||
&& ./auto/configure \
|
||||
--prefix=/var/www \
|
||||
|
@ -67,15 +62,13 @@ RUN echo "====== COMPILE NGINX ======" \
|
|||
--with-pcre \
|
||||
--with-pcre-jit \
|
||||
--with-libatomic \
|
||||
&& make -j4 CFLAGS="-DTLS1_3_VERSION=0x0304" \
|
||||
&& make -j4 \
|
||||
&& make install \
|
||||
&& strip /usr/sbin/nginx \
|
||||
&& strip /usr/lib/nginx/modules/*.so \
|
||||
&& mkdir -p /var/cache/nginx \
|
||||
&& cd /usr/src && rm -rf /usr/src/* \
|
||||
&& apk del --purge .build-nginx && rm -rf /var/cache/apk/*
|
||||
|
||||
RUN echo "====== CONFIGURE SYSTEM ======" \
|
||||
&& mkdir -p /var/cache/nginx
|
||||
|
||||
COPY override /
|
||||
EXPOSE 80/tcp 443/tcp
|
||||
EXPOSE 80/tcp 443/tcp
|
||||
|
|
13
README.md
13
README.md
|
@ -1,4 +1,4 @@
|
|||
[Git](https://code.nephatrine.net/nephatrine/docker-nginx-ssl) |
|
||||
[Git](https://code.nephatrine.net/nephatrine/docker-nginx-ssl/src/branch/master) |
|
||||
[Docker](https://hub.docker.com/r/nephatrine/nginx-ssl/) |
|
||||
[unRAID](https://code.nephatrine.net/nephatrine/unraid-containers)
|
||||
|
||||
|
@ -9,6 +9,9 @@
|
|||
This docker container manages the NGINX application, a lightweight web server
|
||||
and reverse proxy.
|
||||
|
||||
- [Alpine Linux](https://alpinelinux.org/)
|
||||
- [Skarnet Software](https://skarnet.org/software/)
|
||||
- [S6 Overlay](https://github.com/just-containers/s6-overlay)
|
||||
- [CertBot](https://certbot.eff.org/)
|
||||
- [NGINX](https://www.nginx.com/)
|
||||
|
||||
|
@ -24,11 +27,9 @@ PHP or MySQL are not included.
|
|||
|
||||
## Docker Tags
|
||||
|
||||
- **nephatrine/nginx-ssl:testing**: NGINX Master
|
||||
- **nephatrine/nginx-ssl:latest**: NGINX Default
|
||||
- **nephatrine/nginx-ssl:mainline**: NGINX Default
|
||||
- **nephatrine/nginx-ssl:stable**: NGINX 1.20
|
||||
- **nephatrine/nginx-ssl:1.20**: NGINX 1.20
|
||||
- **nephatrine/nginx-ssl:testing**: NGINX Mainline / Alpine Edge
|
||||
- **nephatrine/nginx-ssl:latest**: NGINX Mainline / Alpine Latest
|
||||
- **nephatrine/nginx-ssl:mainline**: NGINX Mainline / Alpine Latest
|
||||
|
||||
## Configuration Variables
|
||||
|
||||
|
|
Loading…
Reference in New Issue