Skip to content

Commit

Permalink
Merge pull request #233 from awslabs/rapphil-update-golang
Browse files Browse the repository at this point in the history
Chore: Update minimal golang version to 1.23.6 and use scratch base image
  • Loading branch information
rapphil authored Feb 12, 2025
2 parents 78c3400 + d3e0d44 commit ef3b941
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ~1.22.4
go-version: ~1.23.6

- name: Build
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: ~1.22.4
go-version: ~1.23.6

- name: Build
run: |
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22.4-alpine AS build
FROM golang:1.23.6-alpine AS build

RUN apk --update add \
ca-certificates \
Expand All @@ -12,7 +12,7 @@ RUN go env -w GOPROXY=direct

RUN CGO_ENABLED=0 GOOS=linux go build ./cmd/aws-sigv4-proxy

FROM alpine:3
FROM scratch
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build /aws-sigv4-proxy/aws-sigv4-proxy ./

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module aws-sigv4-proxy

go 1.22.4
go 1.23.6

require (
github.com/aws/aws-sdk-go v1.55.6
Expand Down

0 comments on commit ef3b941

Please sign in to comment.