Skip to content

Commit

Permalink
update go version
Browse files Browse the repository at this point in the history
  • Loading branch information
hoank101 committed Feb 6, 2025
1 parent a859a96 commit 8dd02b4
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# syntax=docker/dockerfile:1

ARG source=./
ARG GO_VERSION="1.22"
ARG GO_VERSION="1.22.12"
ARG BUILDPLATFORM=linux/amd64
ARG BASE_IMAGE="golang:${GO_VERSION}-alpine3.18"
FROM --platform=${BUILDPLATFORM} ${BASE_IMAGE} as base
ARG BASE_IMAGE="golang:${GO_VERSION}-alpine3.20"
FROM --platform=${BUILDPLATFORM} ${BASE_IMAGE} AS base

###############################################################################
# Builder
###############################################################################

FROM base as builder-stage-1
FROM base AS builder-stage-1

ARG source
ARG GIT_COMMIT
Expand Down Expand Up @@ -70,7 +70,7 @@ RUN set -eux &&\

###############################################################################

FROM builder-stage-1 as builder-stage-2
FROM builder-stage-1 AS builder-stage-2

ARG source
ARG GOOS=linux \
Expand Down Expand Up @@ -102,7 +102,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \

################################################################################

FROM alpine as terra-core
FROM alpine AS terra-core

RUN apk update && apk add wget lz4 aria2 curl jq gawk coreutils "zlib>1.2.12-r2" libssl3

Expand Down
2 changes: 1 addition & 1 deletion contrib/devtools/dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM bufbuild/buf:latest as BUILDER

FROM golang:1.22rc2-alpine3.18
FROM golang:1.22.12-alpine3.20

ENV GOLANG_PROTOBUF_VERSION=1.3.5 \
GOGO_PROTOBUF_VERSION=1.3.2 \
Expand Down
2 changes: 1 addition & 1 deletion contrib/terra-operator/Dockerfile.core
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# docker build . -t cosmwasm/wasmd:latest
# docker run --rm -it cosmwasm/wasmd:latest /bin/sh
FROM golang:1.22-alpine3.18 AS go-builder
FROM golang:1.22.12-alpine3.20 AS go-builder
ARG source=.

# this comes from standard alpine nightly file
Expand Down
2 changes: 1 addition & 1 deletion contrib/updates/Dockerfile.cosmovisor
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:1.22-alpine3.18
FROM golang:1.22.12-alpine3.20

RUN set -eux; apk add --no-cache ca-certificates build-base;

Expand Down
4 changes: 2 additions & 2 deletions contrib/updates/Dockerfile.old
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# syntax=docker/dockerfile:1

ARG source=./
ARG GO_VERSION="1.22"
ARG GO_VERSION="1.22.12"
ARG BUILDPLATFORM=linux/amd64
ARG BASE_IMAGE="golang:${GO_VERSION}-alpine3.18"
ARG BASE_IMAGE="golang:${GO_VERSION}-alpine3.20"
FROM --platform=${BUILDPLATFORM} ${BASE_IMAGE} as base

###############################################################################
Expand Down
4 changes: 2 additions & 2 deletions ictest.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# syntax=docker/dockerfile:1

ARG source=./
ARG GO_VERSION="1.20"
ARG GO_VERSION="1.22.12"
ARG BUILDPLATFORM=linux/amd64
ARG BASE_IMAGE="golang:${GO_VERSION}-alpine3.18"
ARG BASE_IMAGE="golang:${GO_VERSION}-alpine3.20"
FROM --platform=${BUILDPLATFORM} ${BASE_IMAGE} as base

###############################################################################
Expand Down
4 changes: 2 additions & 2 deletions tests/e2e/e2e.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# syntax=docker/dockerfile:1

ARG source=./
ARG GO_VERSION="1.22"
ARG GO_VERSION="1.22.12"
ARG BUILDPLATFORM=linux/amd64
ARG BASE_IMAGE="golang:${GO_VERSION}-alpine3.18"
ARG BASE_IMAGE="golang:${GO_VERSION}-alpine3.20"
FROM --platform=${BUILDPLATFORM} ${BASE_IMAGE} as base

###############################################################################
Expand Down

0 comments on commit 8dd02b4

Please sign in to comment.