From e17eab7b13127dc2c8924da4dd34b42990536fea Mon Sep 17 00:00:00 2001 From: cjh Date: Wed, 19 Aug 2020 14:04:10 +0900 Subject: [PATCH] add clean apt list --- Dockerfile/agent/Dockerfile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Dockerfile/agent/Dockerfile b/Dockerfile/agent/Dockerfile index 5edb1895..856d6a07 100644 --- a/Dockerfile/agent/Dockerfile +++ b/Dockerfile/agent/Dockerfile @@ -1,14 +1,10 @@ FROM ubuntu:focal LABEL version=0.1.4 -RUN apt-get update -y && apt-get install -y ssh -#RUN mkdir -p root/.ssh/ && \ -# cd root/.ssh && \ -# echo $'Host * \n\ -# StrictHostKeyChecking no \n\ -# UserKnownHostsFile /dev/null \n '\ -# > config - +RUN apt-get update -y && \ + apt-get install -y ssh && \ + apt-get -y clean && \ + rm -rf /var/lib/apt/lists/* COPY ./klevr / COPY ./entrypoint.sh /