From 9461ac2d5010c333ff140b572fe5bc5622a80d3a Mon Sep 17 00:00:00 2001 From: Fredrik Svantes <84518844+fredriksvantes@users.noreply.github.com> Date: Wed, 30 Jun 2021 02:06:49 +0000 Subject: [PATCH] Run apt-get upgrade to get latest security updates (#2418) ## Issue Addressed None. ## Proposed Changes Run apt-get upgrade to install latest security updates. ## Additional Info Images often take a long time to get the latest security updates, while running apt-get upgrade will pull the latest updates. Co-authored-by: Age Manning --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index bc4430779d..c0a2f9388f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ FROM rust:1.50.0 AS builder -RUN apt-get update && apt-get install -y cmake +RUN apt-get update && apt-get -y upgrade && apt-get install -y cmake COPY . lighthouse ARG PORTABLE ENV PORTABLE $PORTABLE RUN cd lighthouse && make FROM debian:buster-slim -RUN apt-get update && apt-get install -y --no-install-recommends \ +RUN apt-get update && apt-get -y upgrade && apt-get install -y --no-install-recommends \ libssl-dev \ ca-certificates \ && apt-get clean \