Skip to content

Commit 55a31d4

Browse files
authored
Merge pull request #63 from bitnami/go-1.25
feat: Bump Go version to 1.25
2 parents 08e18fb + c04c56b commit 55a31d4

File tree

3 files changed

+3
-9
lines changed

3 files changed

+3
-9
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
2929
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5
3030
with:
31-
go-version: '^1.24.4' # The Go version to download (if necessary) and use.
31+
go-version: '^1.25' # The Go version to download (if necessary) and use.
3232
- name: Install Build Dependencies
3333
run: make get-build-deps
3434
- name: Download required modules

Dockerfile

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,7 @@
22
#
33
# docker run --rm -it --net host bitnami/wait-for-port
44
#
5-
FROM golang:1.24-bookworm as build
6-
7-
RUN apt-get update && apt-get install -y --no-install-recommends \
8-
git make upx \
9-
&& rm -rf /var/lib/apt/lists/*
5+
FROM bitnami/golang:1.25 as build
106

117
WORKDIR /go/src/app
128
COPY . .
@@ -15,8 +11,6 @@ RUN rm -rf out
1511

1612
RUN make
1713

18-
RUN upx --ultra-brute out/wait-for-port
19-
2014
FROM bitnami/minideb:bookworm
2115

2216
COPY --from=build /go/src/app/out/wait-for-port /usr/local/bin/

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/bitnami/wait-for-port
22

3-
go 1.24
3+
go 1.25
44

55
require (
66
github.com/jessevdk/go-flags v1.6.1

0 commit comments

Comments
 (0)