Skip to content

Commit b4d4f07

Browse files
henrybarretootavio
authored andcommitted
chore(docker): update golang base image to 1.23
1 parent a9da1d6 commit b4d4f07

File tree

11 files changed

+16
-16
lines changed

11 files changed

+16
-16
lines changed

agent/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# base stage
2-
FROM golang:1.22.6-alpine3.19 AS base
2+
FROM golang:1.23-alpine3.19 AS base
33

44
ARG GOPROXY
55

@@ -44,7 +44,7 @@ ENV GOPROXY ${GOPROXY}
4444
RUN apk add --update openssl openssh-client
4545
RUN go install github.com/air-verse/[email protected] && \
4646
go install github.com/go-delve/delve/cmd/[email protected] && \
47-
go install github.com/golangci/golangci-lint/cmd/[email protected]
47+
go install github.com/golangci/golangci-lint/v2/cmd/[email protected]
4848

4949
WORKDIR $GOPATH/src/github.com/shellhub-io/shellhub
5050

agent/Dockerfile.amd64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.6-alpine3.19
1+
FROM golang:1.23-alpine3.19 AS base
22

33
ARG SHELLHUB_VERSION=latest
44

agent/Dockerfile.arm32v6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
22

3-
FROM arm32v6/golang:1.22.6-alpine3.19
3+
FROM arm32v6/golang:1.23-alpine3.19
44

55
ARG SHELLHUB_VERSION=latest
66

agent/Dockerfile.arm32v7

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
22

3-
FROM arm32v7/golang:1.22.6-alpine3.19
3+
FROM arm32v7/golang:1.23-alpine3.19
44

55
ARG SHELLHUB_VERSION=latest
66

agent/Dockerfile.arm64v8

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
22

3-
FROM arm64v8/golang:1.22.6-alpine3.19
3+
FROM arm64v8/golang:1.23-alpine3.19
44

55
ARG SHELLHUB_VERSION=latest
66

agent/Dockerfile.i386

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.6-alpine3.19
1+
FROM golang:1.23-alpine3.19
22

33
ARG SHELLHUB_VERSION=latest
44

agent/Dockerfile.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22.6-alpine3.19
1+
FROM golang:1.23-alpine3.19
22

33
ARG GOPROXY
44

api/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# base stage
2-
FROM golang:1.22.6-alpine3.19 AS base
2+
FROM golang:1.23-alpine3.19 AS base
33

44
ARG GOPROXY
55

@@ -42,7 +42,7 @@ ENV GOPROXY ${GOPROXY}
4242
RUN apk add --update openssl build-base docker-cli
4343
RUN go install github.com/air-verse/[email protected] && \
4444
go install github.com/go-delve/delve/cmd/[email protected] && \
45-
go install github.com/golangci/golangci-lint/cmd/[email protected] && \
45+
go install github.com/golangci/golangci-lint/v2/cmd/[email protected] && \
4646
go install github.com/vektra/mockery/v2/[email protected]
4747

4848
WORKDIR $GOPATH/src/github.com/shellhub-io/shellhub

cli/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# base stage
2-
FROM golang:1.22.6-alpine3.19 AS base
2+
FROM golang:1.23-alpine3.19 AS base
33

44
RUN apk add --no-cache git ca-certificates
55

@@ -34,7 +34,7 @@ FROM builder AS development
3434

3535
RUN apk add --update openssl build-base docker-cli
3636
RUN go install github.com/cosmtrek/[email protected] && \
37-
go install github.com/golangci/golangci-lint/cmd/[email protected]
37+
go install github.com/golangci/golangci-lint/v2/cmd/[email protected]
3838

3939
WORKDIR $GOPATH/src/github.com/shellhub-io/shellhub
4040

gateway/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# base stage
2-
FROM golang:1.23.6-alpine3.20 AS base
2+
FROM golang:1.23-alpine3.20 AS base
33

44
ARG GOPROXY
55

@@ -42,7 +42,7 @@ RUN mkdir -p /var/run/openresty /etc/letsencrypt && \
4242
RUN apk add --update openssl build-base
4343
RUN go install github.com/air-verse/[email protected] && \
4444
go install github.com/go-delve/delve/cmd/[email protected] && \
45-
go install github.com/golangci/golangci-lint/cmd/[email protected] && \
45+
go install github.com/golangci/golangci-lint/v2/cmd/[email protected] && \
4646
go install github.com/vektra/mockery/v2/[email protected]
4747

4848
WORKDIR $GOPATH/src/github.com/shellhub-io/shellhub

0 commit comments

Comments
 (0)