Skip to content

Commit

Permalink
Use latest go 1.22
Browse files Browse the repository at this point in the history
  • Loading branch information
glpatcern committed Dec 17, 2024
1 parent 48ed299 commit ebfaa61
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile.reva
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.

FROM golang:alpine3.17 as builder
FROM golang:latest as builder

RUN apk --no-cache add \
ca-certificates \
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile.revad
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.

FROM golang:alpine3.17 as builder
FROM golang:latest as builder

WORKDIR /home/reva
COPY . .
Expand Down
8 changes: 4 additions & 4 deletions docker/Dockerfile.revad-ceph
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ RUN dnf update --nobest -y && dnf install -y \
librbd-devel \
librados-devel

ADD https://go.dev/dl/go1.22.2.linux-amd64.tar.gz \
go1.22.2.linux-amd64.tar.gz
ADD https://go.dev/dl/go1.22.10.linux-amd64.tar.gz \
go1.22.10.linux-amd64.tar.gz

RUN rm -rf /usr/local/go && \
tar -C /usr/local -xzf go1.22.2.linux-amd64.tar.gz && \
rm go1.22.2.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.22.10.linux-amd64.tar.gz && \
rm go1.22.10.linux-amd64.tar.gz

ENV PATH /go/bin:/usr/local/go/bin:$PATH
ENV GOPATH /go
Expand Down
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@ require (
gopkg.in/yaml.v3 v3.0.1 // indirect
)

go 1.22
go 1.22.10

toolchain go1.22.2
toolchain go1.22.10

0 comments on commit ebfaa61

Please sign in to comment.