From cba07a270d6f9f7fc7caf6f1d4b13dc0f8d5af81 Mon Sep 17 00:00:00 2001 From: Mats Svensson Date: Tue, 12 Nov 2024 09:23:37 +0100 Subject: [PATCH] [TASK] fix missing mkcert, fix linting --- mkcert/Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/mkcert/Dockerfile b/mkcert/Dockerfile index ad258f2..a487bbb 100644 --- a/mkcert/Dockerfile +++ b/mkcert/Dockerfile @@ -15,8 +15,11 @@ RUN apk add --no-cache git=~2.45 \ # Install mkcert # RUN go install filippo.io/mkcert@1.4.4 -RUN git clone https://github.com/FiloSottile/mkcert && cd mkcert \ -&& go build -ldflags "-X main.Version=$(git describe --tags)" +WORKDIR /tmp +RUN git clone https://github.com/FiloSottile/mkcert +WORKDIR /tmp/mkcert +RUN go build -ldflags "-X main.Version=$(git describe --tags)" +RUN mv mkcert /usr/local/bin/ # add Docker entrypoint COPY docker-entrypoint.sh /usr/local/bin/