Update Dockerfile

Changed the golang-upx package version to the latest working version;
Changed the DEBIAN_FRONTEND variable to be right;
This commit is contained in:
Daniel Ramos
2025-01-26 22:09:19 -03:00
committed by GitHub
parent 5fe8e483f6
commit 869d34246b

View File

@@ -5,8 +5,8 @@ RUN apt update && apt install -y wget
RUN wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp RUN wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp
RUN chmod a+rx /usr/local/bin/yt-dlp RUN chmod a+rx /usr/local/bin/yt-dlp
FROM devopsworks/golang-upx:latest as builder FROM devopsworks/golang-upx:1.23 as builder
ENV DEBIAN_FRONTEND noninteractive ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN go mod tidy RUN go mod tidy