diff --git a/Dockerfile b/Dockerfile index 599209d..7c852bf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,10 +8,8 @@ EXPOSE ${PRESTO_PORT} WORKDIR /app ENV DEBIAN_FRONTEND=noninteractive -# Trying to avoid this error on CI: -# E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true' -RUN mkdir -p /var/cache/apt/archives/partial -RUN apt-get update -qq && apt-get install -y --no-install-recommends ffmpeg cmake swig libavcodec-dev libavformat-dev git +RUN apt update +RUN apt install -y --no-install-recommends ffmpeg cmake swig libavcodec-dev libavformat-dev git RUN ln -s /usr/bin/ffmpeg /usr/local/bin/ffmpeg COPY ./threatexchange /app/threatexchange