From 37acdd16d12dfdcee98159df23aedb6862fa07df Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 Feb 2023 17:16:02 +0000 Subject: [PATCH] Bump golang from 1.19 to 1.20 Bumps golang from 1.19 to 1.20. --- updated-dependencies: - dependency-name: golang dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Dockerfile | 4 ++-- goreleaser.Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ecde622..57f1e5b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ # Build Stage: Build bot using the alpine image, also install doppler in it -FROM golang:1.19 AS builder +FROM golang:1.20 AS builder RUN apt-get update && apt-get upgrade -y && apt-get install build-essential -y WORKDIR /app COPY . . RUN GOOS=`go env GOHOSTOS` GOARCH=`go env GOHOSTARCH` go build -o out/GigaUserbot -ldflags="-w -s" . # Run Stage: Run bot using the bot and doppler binary copied from build stage -FROM golang:1.19 +FROM golang:1.20 COPY --from=builder /app/out/GigaUserbot /app/GigaUserbot COPY --from=builder /app/changelog.json /app/changelog.json CMD ["/app/GigaUserbot"] diff --git a/goreleaser.Dockerfile b/goreleaser.Dockerfile index 159a823..960f590 100644 --- a/goreleaser.Dockerfile +++ b/goreleaser.Dockerfile @@ -1,3 +1,3 @@ -FROM golang:1.19 +FROM golang:1.20 COPY giga changelog.json /app/ CMD ["/app/giga"]