This commit is contained in:
Daniele Ulrich, B2B-BAN-ABP-CEB 2023-03-31 23:20:49 +02:00
parent f4d01e12c7
commit c9bb189353
13 changed files with 3106 additions and 107 deletions

View file

@ -1,4 +1,4 @@
FROM golang:1.16-alpine as gobuild
FROM golang:1.19-alpine as gobuild
WORKDIR /build
ADD go.mod go.sum /build/
@ -8,10 +8,13 @@ ADD pkg /build/pkg
RUN go get -d -v ./...
RUN CGO_ENABLED=0 GOOS=linux go build -a -ldflags '-extldflags "-static"' -o ./s3driver ./cmd/s3driver
FROM alpine:3.16
FROM alpine:3.17
LABEL maintainers="Vitaliy Filippov <vitalif@yourcmc.ru>"
LABEL description="csi-s3 slim image"
RUN apk update
RUN apk upgrade
# apk add temporarily broken:
#ERROR: unable to select packages:
# so:libcrypto.so.3 (no such package):