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:
parent
2357a41868
commit
9461ac2d50
@ -1,12 +1,12 @@
|
|||||||
FROM rust:1.50.0 AS builder
|
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
|
COPY . lighthouse
|
||||||
ARG PORTABLE
|
ARG PORTABLE
|
||||||
ENV PORTABLE $PORTABLE
|
ENV PORTABLE $PORTABLE
|
||||||
RUN cd lighthouse && make
|
RUN cd lighthouse && make
|
||||||
|
|
||||||
FROM debian:buster-slim
|
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 \
|
libssl-dev \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
|
Loading…
Reference in New Issue
Block a user