mirror of
https://github.com/NginxProxyManager/docker-nginx-full.git
synced 2024-12-06 19:26:20 +01:00
Remove mkcert
This commit is contained in:
@@ -39,20 +39,6 @@ RUN if [ "$(getconf LONG_BIT)" = "32" ]; then \
|
||||
|
||||
RUN pip install --no-cache-dir cffi certbot
|
||||
|
||||
#############
|
||||
# Go Builder
|
||||
#############
|
||||
|
||||
FROM golang:latest as gobuilder
|
||||
|
||||
ENV MKCERT_VERSION=1.4.2
|
||||
RUN mkdir /workspace
|
||||
WORKDIR /workspace
|
||||
RUN wget -O mkcert.tgz "https://github.com/FiloSottile/mkcert/archive/v${MKCERT_VERSION}.tar.gz"
|
||||
RUN tar -xzf mkcert.tgz
|
||||
WORKDIR "/workspace/mkcert-${MKCERT_VERSION}"
|
||||
RUN go build -ldflags "-X main.Version=v${MKCERT_VERSION}" -o /bin/mkcert
|
||||
|
||||
#############
|
||||
# Nginx Builder
|
||||
#############
|
||||
@@ -127,9 +113,6 @@ COPY ./scripts/install-lua /tmp/install-lua
|
||||
COPY --from=nginxbuilder /tmp/openresty /tmp/openresty
|
||||
COPY ./scripts/install-openresty /tmp/install-openresty
|
||||
|
||||
# Copy golang built packages
|
||||
COPY --from=gobuilder /bin/mkcert /bin/mkcert
|
||||
|
||||
ENV SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
|
||||
|
||||
# Copy certbot
|
||||
|
||||
Reference in New Issue
Block a user