Update build and deploy containers to trixie
All checks were successful
Build and Deploy ytdlp-site / build-deploy (push) Successful in 3m17s
All checks were successful
Build and Deploy ytdlp-site / build-deploy (push) Successful in 3m17s
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
FROM golang:1.23.3-bookworm AS builder
|
FROM golang:1.25.1-trixie AS builder
|
||||||
ARG GIT_SHA="<not provided>"
|
ARG GIT_SHA="<not provided>"
|
||||||
|
|
||||||
# install yt-dlp
|
# install yt-dlp
|
||||||
@@ -26,7 +26,7 @@ ADD go.mod /src/.
|
|||||||
RUN cd /src && go mod tidy
|
RUN cd /src && go mod tidy
|
||||||
RUN cd /src && go build -ldflags "-X ytdlp-site/config.gitSHA=${GIT_SHA} -X ytdlp-site/config.buildDate=$(date +%Y-%m-%d)" -o server *.go
|
RUN cd /src && go build -ldflags "-X ytdlp-site/config.gitSHA=${GIT_SHA} -X ytdlp-site/config.buildDate=$(date +%Y-%m-%d)" -o server *.go
|
||||||
|
|
||||||
FROM debian:bookworm-slim
|
FROM debian:trixie-slim
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends --no-install-suggests \
|
&& apt-get install -y --no-install-recommends --no-install-suggests \
|
||||||
|
Reference in New Issue
Block a user