Add apt upgrade step to resolve vulns

master
sethsimmons 3 years ago
parent 9324140d0e
commit e03ed49f79
No known key found for this signature in database
GPG Key ID: 6B9791C6214D1E57

@ -8,7 +8,9 @@ ARG MONERO_BRANCH=release-v0.17
ENV DEBIAN_FRONTEND="noninteractive" ENV DEBIAN_FRONTEND="noninteractive"
# Install dependencies for monerod and xmrblocks compilation # Install dependencies for monerod and xmrblocks compilation
RUN apt-get update && apt install -y --no-install-recommends \ RUN apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y --no-install-recommends \
git \ git \
build-essential \ build-essential \
cmake \ cmake \
@ -65,8 +67,9 @@ FROM ubuntu:20.04
ENV DEBIAN_FRONTEND="noninteractive" ENV DEBIAN_FRONTEND="noninteractive"
# Install unzip to handle bundled libs from builder stage # Install unzip to handle bundled libs from builder stage
RUN apt-get update && apt-get install -y --no-install-recommends \ RUN apt-get update \
unzip \ && apt-get upgrade -y \
&& apt-get install -y --no-install-recommends unzip \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*

Loading…
Cancel
Save