Replace ADD with RUN, causes less cache invalidation

This commit is contained in:
Deluan 2020-01-23 20:39:44 -05:00
parent bee55c04c8
commit dd9665ae02
1 changed files with 2 additions and 2 deletions

View File

@ -33,8 +33,8 @@ RUN make buildall
# Download and unpack static ffmpeg
ARG FFMPEG_VERSION=4.1.4
ARG FFMPEG_URL=https://www.johnvansickle.com/ffmpeg/old-releases/ffmpeg-${FFMPEG_VERSION}-amd64-static.tar.xz
ADD ${FFMPEG_URL} /tmp/ffmpeg.tar.xz
RUN cd /tmp && tar xJf ffmpeg.tar.xz
RUN wget -O /tmp/ffmpeg.tar.xz ${FFMPEG_URL}
RUN cd /tmp && tar xJf ffmpeg.tar.xz && rm ffmpeg.tar.xz
#####################################################