Update build and deploy containers to trixie
All checks were successful
Build and Deploy ytdlp-site / build-deploy (push) Successful in 3m17s

This commit is contained in:
2025-09-27 05:51:35 -06:00
parent 36d3505746
commit fab6ba9216

View File

@@ -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 \