Clean a bit more on the full image to reduce size

Signed-off-by: fly <merspieler@airmail.cc>
This commit is contained in:
fly 2022-05-03 00:36:08 +02:00
parent b8d32bcbfb
commit a1617aa988

View file

@ -1,12 +1,14 @@
FROM debian:buster
RUN apt-get -y update &&\
apt-get install -y git osmium-tool osmosis postgis pgadmin3 postgresql-contrib postgresql-client postgresql-postgis postgresql python3-pip python3-venv python3-dev curl sudo flightgear tmux vim wget parallel zip &&\
apt-get clean
apt-get install -y git osmium-tool osmosis postgis pgadmin3 postgresql-contrib postgresql-client postgresql-postgis postgresql python3-pip python3-venv python3-dev curl sudo flightgear tmux vim wget parallel zip &&\
apt-get clean
# pillow dependencies:
RUN apt-get -y install libtiff5-dev libjpeg-dev libopenjp2-7-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \
libharfbuzz-dev libfribidi-dev libxcb1-dev
libharfbuzz-dev libfribidi-dev libxcb1-dev &&\
rm -rf /var/lib/apt/lists/*
RUN pip3 install requests tabulate