Skip to content

Commit

Permalink
[MOD] Upgrade go version to 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
Kleonikos Kyriakis authored and knikos committed May 24, 2024
1 parent 9376874 commit 0b0967f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Create base builder image
FROM golang:1.18.10-alpine3.17 AS builder
FROM golang:1.20-alpine AS builder
WORKDIR /go/src/github.com/chain4travel/camino-signavault
RUN apk add --no-cache alpine-sdk bash git make gcc musl-dev linux-headers git ca-certificates g++ libstdc++

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 github.com/chain4travel/camino-signavault

go 1.18
go 1.20

require (
github.com/ava-labs/avalanchego v1.9.4-rc.7
Expand Down
8 changes: 7 additions & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,10 @@ OUTPUT="signavault"

echo "Building signavault..."
go build -o "$OUTPUT" cmd/camino-signavault/main.go
echo "SUCCESS"
if [[ -f "$OUTPUT" ]]; then
echo "Build Successful"
exit 0
else
echo "Build failure" >&2
exit 1
fi

0 comments on commit 0b0967f

Please sign in to comment.