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 <Age@AgeManning.com>
This commit is contained in:
Fredrik Svantes 2021-06-30 02:06:49 +00:00
parent 2357a41868
commit 9461ac2d50

View File

@ -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 \