Skip to content

Commit

Permalink
Dockerfile: Use --no-install-recommends
Browse files Browse the repository at this point in the history
  • Loading branch information
mrueg committed Jan 25, 2022
1 parent 9896582 commit 94c51bb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -11,7 +11,7 @@ deb http://snapshot.debian.org/archive/debian-security/20220104T163649Z bullseye

# NOTICE: -o Acquire::Check-Valid-Until="false" added as a mitigation, see https://github.com/parca-dev/parca-agent/issues/10 for further details.
RUN apt-get -o Acquire::Check-Valid-Until="false" update -y && \
apt-get install -y clang-11 make gcc coreutils elfutils binutils zlib1g-dev libelf-dev ca-certificates netbase && \
apt-get install --no-install-recommends -y clang-11 llvm-11 make gcc coreutils elfutils binutils zlib1g-dev libelf-dev ca-certificates netbase && \
ln -s /usr/bin/clang-11 /usr/bin/clang && \
ln -s /usr/bin/llc-11 /usr/bin/llc
WORKDIR /parca-agent
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile.dev
Expand Up @@ -5,7 +5,7 @@ deb http://deb.debian.org/debian bullseye-backports main\n\
" >> /etc/apt/sources.list

RUN apt-get update -y && \
apt-get install -y clang-11 make gcc coreutils elfutils binutils zlib1g-dev libelf-dev ca-certificates netbase && \
apt-get install --no-install-recommends -y clang-11 llvm-11 make gcc coreutils elfutils binutils zlib1g-dev libelf-dev ca-certificates netbase && \
ln -s /usr/bin/clang-11 /usr/bin/clang && \
ln -s /usr/bin/llc-11 /usr/bin/llc
WORKDIR /parca-agent
Expand Down

0 comments on commit 94c51bb

Please sign in to comment.