Skip to content

Commit

Permalink
Trying to fix the Dockerfile, take 3
Browse files Browse the repository at this point in the history
  • Loading branch information
caiosba committed Sep 18, 2023
1 parent ba2911a commit 1f8e0e8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1f8e0e8

Please sign in to comment.