mirror of
https://github.com/ente-io/ente.git
synced 2025-07-01 13:13:35 +00:00
## Description feat: update to use go1.23 --- relates to https://github.com/Homebrew/homebrew-core/pull/201919 (homebrew side always use latest go for building the artifact) also love a new cli release for some patches so that we can proceed with the homebrew PR Signed-off-by: Rui Chen <rui@chenrui.dev>
21 lines
462 B
Plaintext
21 lines
462 B
Plaintext
FROM golang:1.23-alpine3.21@sha256:6c5c9590f169f77c8046e45c611d3b28fe477789acd8d3762d23d4744de69812 AS builder386
|
|
RUN apt-get update
|
|
RUN apt-get install -y gcc
|
|
RUN apt-get install -y git
|
|
RUN apt-get install -y pkg-config
|
|
RUN apt-get install -y libsodium-dev
|
|
|
|
|
|
ENV GOOS=linux
|
|
|
|
WORKDIR /etc/ente/
|
|
RUN uname -a
|
|
COPY go.mod .
|
|
COPY go.sum .
|
|
RUN go mod download
|
|
|
|
|
|
COPY . .
|
|
RUN --mount=type=cache,target=/root/.cache/go-build \
|
|
go build -o ente-cli main.go
|