From d21882a01cebc1dd67227742d0e39ac1a953e547 Mon Sep 17 00:00:00 2001 From: iwilltry42 Date: Thu, 30 Sep 2021 15:28:58 +0200 Subject: [PATCH] tools: use older alpine base image while building to avoid execution issues with make caused by https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.14.0#faccessat2 (in DroneCI) --- tools/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/Dockerfile b/tools/Dockerfile index 761622d3..b8c3e260 100644 --- a/tools/Dockerfile +++ b/tools/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.17-alpine as builder +FROM golang:1.17-alpine3.13 as builder ARG GIT_TAG WORKDIR /app COPY . . @@ -8,7 +8,7 @@ ENV GO111MODULE=on ENV CGO_ENABLED=0 RUN make build -FROM alpine:3.14 +FROM alpine:3.13 RUN apk update && apk add bash WORKDIR /app COPY --from=builder /app/bin/k3d-tools .