From 3eec6e8cf237638a1441b0fb924d40187eebcc93 Mon Sep 17 00:00:00 2001 From: 3np <3np> Date: Mon, 28 Feb 2022 18:07:49 +0100 Subject: [PATCH] docker: remove pip from resulting image --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index bdfe468..321b9af 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,9 @@ WORKDIR /jm/clientserver COPY . . RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates=* curl=* \ - python3-pip=* \ + python3-pip=* python3=* \ && pip3 install 'wheel>=0.35.1' \ && ./install.sh --docker-install \ + && apt-get purge -y --autoremove python3-pip \ && apt-get clean \ && rm -rf /var/lib/apt/lists/*