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)

pull/767/head v5.0.0-rc.4
iwilltry42 3 years ago
parent 2a2bee0e63
commit d21882a01c
No known key found for this signature in database
GPG Key ID: 7BA57AD1CFF16110
  1. 4
      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 .

Loading…
Cancel
Save