Skip to content

Commit 5076508

Browse files
authored
Merge pull request #23 from f9n/clean_up_the_apt_cache
Clean up the apt cache
2 parents 28a81ea + 3ad0818 commit 5076508

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM python:3.7
22
MAINTAINER Josip Janzic <josip@jjanzic.com>
33

4-
RUN apt-get update && \
5-
apt-get install -y \
4+
RUN apt-get update \
5+
&& apt-get install -y \
66
build-essential \
77
cmake \
88
git \
@@ -17,7 +17,8 @@ RUN apt-get update && \
1717
libpng-dev \
1818
libtiff-dev \
1919
libavformat-dev \
20-
libpq-dev
20+
libpq-dev \
21+
&& rm -rf /var/lib/apt/lists/*
2122

2223
RUN pip install numpy
2324

0 commit comments

Comments
 (0)