Skip to content

Commit 98bd0a9

Browse files
committed
fix dockerfile definitions.
1 parent 7242b5f commit 98bd0a9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

docker/diffusers-pytorch-cpu/Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@ ENV DEBIAN_FRONTEND=noninteractive
66

77
RUN apt-get -y update \
88
&& apt-get install -y software-properties-common \
9-
&& add-apt-repository ppa:deadsnakes/ppa
9+
&& add-apt-repository ppa:deadsnakes/ppa \
10+
&& apt-get -y update
1011

11-
RUN apt install -y bash \
12+
RUN apt-get install -y bash \
1213
build-essential \
1314
git \
1415
git-lfs \
@@ -20,7 +21,7 @@ RUN apt install -y bash \
2021
python3-pip \
2122
libgl1 \
2223
python3.10-venv && \
23-
rm -rf /var/lib/apt/lists
24+
rm -rf /var/lib/apt/lists/*
2425

2526
# make sure to use venv
2627
RUN python3.10 -m venv /opt/venv

0 commit comments

Comments
 (0)