Skip to content

Commit

Permalink
Added build base to dockerfiles to fix image build
Browse files Browse the repository at this point in the history
  • Loading branch information
beveradb committed Sep 25, 2024
1 parent ab8f643 commit 51658f2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ FROM python:3.11-slim
# Set the working directory in the container
WORKDIR /workdir

RUN apt-get update; apt-get install -y ffmpeg
# Install necessary packages
RUN apt-get update && apt-get install -y ffmpeg build-essential

RUN python -m pip install --upgrade pip

RUN --mount=type=cache,target=/root/.cache \
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.cuda11
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ WORKDIR /workdir

RUN apt-get update && apt-get install -y \
ffmpeg \
build-essential \
python3 \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
Expand Down
1 change: 1 addition & 0 deletions Dockerfile.cuda12
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ WORKDIR /workdir

RUN apt-get update && apt-get install -y \
ffmpeg \
build-essential \
python3 \
python3-pip \
&& rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit 51658f2

Please sign in to comment.