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 \ ...@@ -568,6 +568,8 @@ RUN apt-get update -y \
# required for EPP # required for EPP
ca-certificates \ ca-certificates \
libstdc++6 \ libstdc++6 \
# required for verification of GPG keys
gnupg2 \
&& apt-get clean \ && apt-get clean \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
...@@ -582,7 +584,6 @@ RUN userdel -r ubuntu > /dev/null 2>&1 || true \ ...@@ -582,7 +584,6 @@ RUN userdel -r ubuntu > /dev/null 2>&1 || true \
# Set HOME so ModelExpress can find the cache directory # Set HOME so ModelExpress can find the cache directory
ENV HOME=/home/dynamo ENV HOME=/home/dynamo
# Switch to dynamo user # Switch to dynamo user
USER dynamo USER dynamo
ENV DYNAMO_HOME=/opt/dynamo ENV DYNAMO_HOME=/opt/dynamo
......
...@@ -474,6 +474,13 @@ RUN userdel -r ubuntu > /dev/null 2>&1 || true \ ...@@ -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 # 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 && 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 attribution files
COPY --chmod=664 --chown=dynamo:0 ATTRIBUTION* LICENSE /workspace/ COPY --chmod=664 --chown=dynamo:0 ATTRIBUTION* LICENSE /workspace/
......
...@@ -679,6 +679,8 @@ RUN if [ ${ARCH_ALT} = "x86_64" ]; then \ ...@@ -679,6 +679,8 @@ RUN if [ ${ARCH_ALT} = "x86_64" ]; then \
ninja-build \ ninja-build \
git \ git \
git-lfs \ git-lfs \
# required for verification of GPG keys
gnupg2 \
# Python runtime - CRITICAL for virtual environment to work # Python runtime - CRITICAL for virtual environment to work
python${PYTHON_VERSION}-dev \ python${PYTHON_VERSION}-dev \
python3-pip \ python3-pip \
......
...@@ -650,6 +650,8 @@ RUN apt-get update && \ ...@@ -650,6 +650,8 @@ RUN apt-get update && \
jq \ jq \
git \ git \
git-lfs \ git-lfs \
# required for verification of GPG keys
gnupg2 \
curl \ curl \
# Libraries required by UCX to find RDMA devices # Libraries required by UCX to find RDMA devices
libibverbs1 rdma-core ibverbs-utils libibumad3 \ 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