Remove mkcert

This commit is contained in:
Jamie Curnow
2021-07-28 21:59:23 +10:00
parent a00327008f
commit 46b7d80880
-17
View File
@@ -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