Skip to content

Commit baedd21

Browse files
authored
Merge pull request #52 from bitnami/go-1.25
feat: Bump Go version to 1.25
2 parents 2c73f0d + ef191ec commit baedd21

3 files changed

Lines changed: 3 additions & 9 deletions

File tree

.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 -i -e WHO=bitnami bitnami/render-template <<<"hello {{WHO}}"
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 build
1713

18-
RUN upx --ultra-brute out/render-template
19-
2014
FROM bitnami/minideb:bookworm
2115

2216
COPY --from=build /go/src/app/out/render-template /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/render-template
22

3-
go 1.24
3+
go 1.25
44

55
require (
66
github.com/aymerick/raymond v2.0.2+incompatible

0 commit comments

Comments
 (0)