mirror of
https://github.com/ente-io/ente.git
synced 2025-08-08 07:28:26 +00:00
[server] Upgrade go version to 1.23
This commit is contained in:
parent
d312761166
commit
abeac7aa49
@ -1,4 +1,4 @@
|
||||
FROM golang:1.21-alpine3.17 AS builder
|
||||
FROM golang:1.23.4-alpine3.21 AS builder
|
||||
RUN apk add --no-cache gcc musl-dev git build-base pkgconfig libsodium-dev
|
||||
|
||||
ENV GOOS=linux
|
||||
@ -13,7 +13,7 @@ COPY . .
|
||||
RUN --mount=type=cache,target=/root/.cache/go-build \
|
||||
go build -o museum cmd/museum/main.go
|
||||
|
||||
FROM alpine:3.17
|
||||
FROM alpine:3.21
|
||||
RUN apk add libsodium-dev
|
||||
COPY --from=builder /etc/ente/museum .
|
||||
COPY configurations configurations
|
||||
|
@ -1,6 +1,6 @@
|
||||
module github.com/ente-io/museum
|
||||
|
||||
go 1.21
|
||||
go 1.23
|
||||
|
||||
require (
|
||||
firebase.google.com/go v3.13.0+incompatible
|
||||
|
Loading…
x
Reference in New Issue
Block a user