Unverified Commit 16451f48 authored by Tushar Sharma's avatar Tushar Sharma Committed by GitHub
Browse files

chore: explicitly install GPG package in containers (#5374)


Signed-off-by: default avatarTushar Sharma <tusharma@nvidia.com>
parent 7fdc742e
......@@ -568,6 +568,8 @@ RUN apt-get update -y \
# required for EPP
ca-certificates \
libstdc++6 \
# required for verification of GPG keys
gnupg2 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
......@@ -582,7 +584,6 @@ RUN userdel -r ubuntu > /dev/null 2>&1 || true \
# Set HOME so ModelExpress can find the cache directory
ENV HOME=/home/dynamo
# Switch to dynamo user
USER dynamo
ENV DYNAMO_HOME=/opt/dynamo
......
......@@ -474,6 +474,13 @@ RUN userdel -r ubuntu > /dev/null 2>&1 || true \
# NOTE: Setting ENV UMASK=002 does NOT work - umask is a shell builtin, not an environment variable
&& mkdir -p /etc/profile.d && echo 'umask 002' > /etc/profile.d/00-umask.sh
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
# required for verification of GPG keys
gnupg2 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
# Copy attribution files
COPY --chmod=664 --chown=dynamo:0 ATTRIBUTION* LICENSE /workspace/
......
......@@ -679,6 +679,8 @@ RUN if [ ${ARCH_ALT} = "x86_64" ]; then \
ninja-build \
git \
git-lfs \
# required for verification of GPG keys
gnupg2 \
# Python runtime - CRITICAL for virtual environment to work
python${PYTHON_VERSION}-dev \
python3-pip \
......
......@@ -650,6 +650,8 @@ RUN apt-get update && \
jq \
git \
git-lfs \
# required for verification of GPG keys
gnupg2 \
curl \
# Libraries required by UCX to find RDMA devices
libibverbs1 rdma-core ibverbs-utils libibumad3 \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment