File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33
44ARG BUILD_FROM_PREFIX
55
6- FROM ${BUILD_FROM_PREFIX}golang:alpine AS builder
6+ FROM ${BUILD_FROM_PREFIX}golang:alpine3.22 AS builder
77COPY .gitignore /usr/bin/
88RUN apk --no-cache add gcc musl-dev git
99WORKDIR /go/src/
@@ -23,7 +23,7 @@ RUN export GOPROXY=direct \
2323 -ldflags '-s -w -X main.ver=${BUILD_VERSION} \
2424 -X main.commit=${BUILD_REF} -X main.date=${BUILD_DATE}' -o /app
2525
26- FROM alpine:3.19 AS libs
26+ FROM alpine:3.22 AS libs
2727RUN apk --no-cache add ca-certificates
2828
2929FROM scratch
Original file line number Diff line number Diff line change @@ -56,10 +56,15 @@ docker:
5656release-publish :
5757 ./hooks/push
5858
59+ update :
60+ GOPROXY =direct go get -u
61+ GOPROXY =direct go mod tidy
62+
5963deps :
60- @docker run --rm -it -e GOPROXY=direct -v " ${PWD} :/go/src/github.com/patrickdk77/aws-s3-proxy/" \
61- -w /go/src/github.com/patrickdk77/aws-s3-proxy/ \
62- golang:alpine3.21 sh -c ' apk --no-cache add git && go mod vendor'
64+ GOPROXY =direct go mod vendor
65+ # @docker run --rm -it -e GOPROXY=direct -v "${PWD}:/go/src/github.com/patrickdk77/aws-s3-proxy/" \
66+ # -w /go/src/github.com/patrickdk77/aws-s3-proxy/ \
67+ # golang:alpine3.21 sh -c 'apk --no-cache add git && go mod vendor'
6368
6469up :
6570 @docker-compose up -d
Original file line number Diff line number Diff line change 11module github.com/patrickdk77/aws-s3-proxy
22
3- go 1.23.0
4-
5- toolchain go1.23.1
3+ go 1.24.2
64
75require (
86 github.com/aws/aws-sdk-go v1.55.7
You can’t perform that action at this time.
0 commit comments