From 6981c8095cde8a6764cc88863a1253e84a7ed7f2 Mon Sep 17 00:00:00 2001 From: Steven Polley Date: Sun, 4 Oct 2020 21:23:16 +0000 Subject: [PATCH] Update Debian packages during container build --- Dockerfile | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Dockerfile b/Dockerfile index a8ae1b1..172c1ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,12 @@ FROM codercom/code-server:latest +# Install updated packages +RUN sudo apt update && \ + sudo apt upgrade -y && \ + sudo apt clean autoclean && \ + sudo apt autoremove -y + + # Install Go RUN curl -O https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz && \ tar xvfz go1.15.2.linux-amd64.tar.gz && \