Skip to content

Commit f585105

Browse files
author
mirkobrombin
committed
chore: update Go installation process to version 1.24.0 using official tarball
1 parent 0d5307c commit f585105

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

recipe.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,15 @@ stages:
2727
source:
2828
packages:
2929
- git
30-
- golang-1.23-go
3130
- nano
31+
- wget
32+
33+
- name: install-go
34+
type: shell
35+
commands:
36+
- wget https://go.dev/dl/go1.24.0.linux-amd64.tar.gz
37+
- tar -C /usr/local -xzf go1.24.0.linux-amd64.tar.gz
38+
- /usr/local/go/bin/go version
3239

3340
- name: build-app
3441
type: shell
@@ -40,5 +47,5 @@ stages:
4047
commands:
4148
- mv /sources/build-app /app
4249
- cd /app
43-
- go build -o chronos .
50+
- /usr/local/go/bin/go build -o chronos .
4451
- mv config /config

0 commit comments

Comments
 (0)