Skip to content

Commit 5a65fb3

Browse files
authored
Combine upgrade and install steps
Combine upgrade and install steps Add --no-install-recommends option
1 parent cfc299d commit 5a65fb3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@ FROM python:3.10.8
22
WORKDIR /home/pandas
33

44
RUN apt-get update && \
5-
apt-get -y upgrade && \
6-
rm -rf /var/lib/apt/lists/*
7-
8-
RUN apt-get update && apt-get install -y \
5+
apt-get --no-install-recommends -y upgrade && \
6+
apt-get --no-install-recommends -y install \
97
build-essential \
108
bash-completion \
119
# hdf5 needed for pytables installation

0 commit comments

Comments
 (0)