Add cleanup after package install in Dockerfile
This commit is contained in:
parent
a4f7e5e334
commit
e4e60c1023
@ -1,6 +1,6 @@
|
|||||||
FROM python:3-slim
|
FROM python:3-slim
|
||||||
|
|
||||||
RUN apt-get update && apt-get install gnupg -y
|
RUN apt-get update && apt-get install gnupg -y && rm -rf /var/lib/apt/lists/*
|
||||||
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 8756C4F765C9AC3CB6B85D62379CE192D401AB61 && \
|
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 8756C4F765C9AC3CB6B85D62379CE192D401AB61 && \
|
||||||
echo deb http://deb.seadrive.org buster main | tee /etc/apt/sources.list.d/seafile.list && \
|
echo deb http://deb.seadrive.org buster main | tee /etc/apt/sources.list.d/seafile.list && \
|
||||||
apt-get update -y && \
|
apt-get update -y && \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user