Compare commits

...

1 Commits

Author SHA1 Message Date
RecordingTheSmile 40490ffe43 fix: update Dockerfile to install packages non-interactively 2025-11-06 21:31:02 +08:00
+2 -2
View File
@@ -1,12 +1,12 @@
FROM golang:latest AS backend-builder
RUN apt update
RUN apt install build-essential
RUN apt install -y build-essential
WORKDIR /build
COPY . .
ENV CGO_ENABLED=1
RUN go build -ldflags="-s -w" -o bin/server
RUN apt install upx-ucl
RUN apt install -y upx-ucl
RUN upx --best --lzma bin/server