File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
devops/docker/lake-builder Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ FROM --platform=linux/arm64 debian:bookworm as debian-arm64
3131RUN apt-get update
3232RUN apt-get install -y libssh2-1-dev libssl-dev zlib1g-dev
3333
34- FROM --platform=$BUILDPLATFORM golang:1.20.5 -bookworm as builder
34+ FROM --platform=$BUILDPLATFORM golang:1.22 -bookworm as builder
3535
3636# docker build --build-arg GOPROXY=https://goproxy.io,direct -t mericodev/lake .
3737ARG GOPROXY=
@@ -49,7 +49,7 @@ RUN if [ "$(arch)" != "x86_64" ] ; then \
4949 apt-get install -y gcc-x86-64-linux-gnu binutils-x86-64-linux-gnu ; \
5050 fi
5151
52- RUN go install github.com/vektra/mockery/v2@v2.20 .0
52+ RUN go install github.com/vektra/mockery/v2@v2.43 .0
5353RUN go install github.com/swaggo/swag/cmd/
[email protected] 5454
5555COPY --from=debian-amd64 /usr/include /rootfs-amd64/usr/include
Original file line number Diff line number Diff line change 11module github.com/apache/incubator-devlake
22
3- go 1.20
3+ go 1.22
44
55require (
66 github.com/aws/aws-sdk-go v1.55.6
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ FROM --platform=linux/amd64 debian:bullseye as debian-amd64
1818RUN apt-get -y update && apt -y upgrade &&\
1919 apt-get install -y libssh2-1-dev libssl-dev zlib1g-dev
2020
21- FROM golang:1.20.4 -bullseye as builder
21+ FROM golang:1.22 -bullseye as builder
2222
2323# Base dependencies
2424RUN apt-get -y update && apt -y upgrade &&\
@@ -55,14 +55,14 @@ COPY --from=builder /tmp/deps/include/ /usr/include/
5555ENV PKG_CONFIG_PATH=/usr/lib/x86_64-linux-gnu/pkgconfig
5656
5757# Install Golang
58- RUN curl -L https://git.io/vQhTU | bash -s -- --version 1.20.4
58+ RUN curl -L https://git.io/vQhTU | bash -s -- --version 1.22.0
5959RUN mv /root/go /go &&\
6060 mv /root/.go /usr/local/go &&\
6161 ln -sf /usr/local/go/bin/* /usr/bin
6262
6363# Install Golang Tools
6464RUN export GOPATH=/go && \
65- go install github.com/vektra/mockery/v2@v2.20 .0 && \
65+ go install github.com/vektra/mockery/v2@v2.43 .0 && \
6666 go install github.com/swaggo/swag/cmd/
[email protected] 6767
6868# Golang Env
You can’t perform that action at this time.
0 commit comments