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)

This commit is contained in:
iwilltry42 2021-09-30 15:28:58 +02:00
parent 2a2bee0e63
commit d21882a01c
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110

View File

@ -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 .