This commit is contained in:
julien 2025-06-26 11:12:13 +02:00
parent 8f98bf7a39
commit a0995abba8

View File

@ -1,10 +1,16 @@
FROM golang:1.24-bullseye
# Installer ffmpeg, curl, unrar et air
# Installer ffmpeg, curl, unrar-free (et optionnellement p7zip-full pour un support d'archives plus large) et air
RUN apt-get update && \
apt-get install -y ffmpeg curl unrar && \
curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh | sh -s -- -b /usr/local/bin && \
apt-get clean && rm -rf /var/lib/apt/lists/*
apt-get install -y \
ffmpeg \
curl \
unrar-free \
p7zip-full \
&& curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh \
| sh -s -- -b /usr/local/bin \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app