build: Update Golang in Docker image to 1.22.0

- Update Golang container image
This commit is contained in:
Laisky.Cai 2024-02-19 07:23:56 +00:00
parent 29eab22762
commit 281df64214

View File

@ -12,7 +12,7 @@ WORKDIR /web/berry
RUN npm install
RUN DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build
FROM golang:1.21.5-bullseye AS builder2
FROM golang:1.22.0-bullseye AS builder2
ENV GO111MODULE=on \
CGO_ENABLED=1 \
@ -40,4 +40,4 @@ RUN apt-get install -y --no-install-recommends ca-certificates haveged tzdata \
COPY --from=builder2 /build/one-api /
EXPOSE 3000
WORKDIR /data
ENTRYPOINT ["/one-api"]
ENTRYPOINT ["/one-api"]