Skip to content

Commit

Permalink
Use recommended method to clean up after apt-get.
Browse files Browse the repository at this point in the history
  • Loading branch information
jgerigmeyer committed Oct 30, 2019
1 parent e990c2b commit 56c961f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
FROM python:3.8.0

# System setup:
RUN apt-get update && apt-get install -y --no-install-recommends gettext redis-tools && apt-get clean
RUN apt-get update \
&& apt-get install -y gettext redis-tools --no-install-recommends \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# Python context setup:
RUN pip install --upgrade pip
Expand Down

0 comments on commit 56c961f

Please sign in to comment.