From 57319d2b23db2327f6141db8807583c8a4d4f096 Mon Sep 17 00:00:00 2001 From: Giovanni Rosa Date: Sat, 15 Apr 2023 01:35:54 +0200 Subject: [PATCH] Fix for Dockerfile smell DL3009 Signed-off-by: Giovanni Rosa --- proto/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/proto/Dockerfile b/proto/Dockerfile index 8c4fa83a..ef6c2b23 100644 --- a/proto/Dockerfile +++ b/proto/Dockerfile @@ -2,7 +2,9 @@ FROM python:3.6-slim LABEL maintainer="jdoliner@pachyderm.io" RUN pip3 install grpcio==1.38.0 grpcio-tools==1.38.0 -RUN apt-get update && apt-get install -y gcc +RUN apt-get update && apt-get install -y gcc \ + && apt-get clean \ + && rm -rf /var/lib/apt/lists/* RUN pip3 install "betterproto[compiler]"==2.0.0b3 ADD run /bin