Merge "stx-debian-{tools-}dev: add build-essential"

This commit is contained in:
Zuul
2024-06-21 21:35:58 +00:00
committed by Gerrit Code Review
2 changed files with 26 additions and 0 deletions

View File

@@ -26,6 +26,19 @@ RUN set -ex && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# These packages are only in debian snapshots repo
RUN set -ex && \
cp -f /etc/apt/sources.list.d/debian.list.disabled /etc/apt/sources.list.d/debian.list && \
cp -f /etc/apt/sources.list.d/stx.list.disabled /etc/apt/sources.list.d/stx.list && \
apt-get update -y && \
apt-get install -y \
build-essential \
&& \
rm -f /etc/apt/sources.list.d/stx.list && \
rm -f /etc/apt/sources.list.d/debian.list && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Enable stx repo only. Packages installs below this point will use
# only the managed locally-built & 3rd-party repos.
RUN set -ex && \

View File

@@ -27,6 +27,19 @@ RUN set -ex && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# These packages are only in debian snapshots repo
RUN set -ex && \
cp -f /etc/apt/sources.list.d/debian.list.disabled /etc/apt/sources.list.d/debian.list && \
cp -f /etc/apt/sources.list.d/stx.list.disabled /etc/apt/sources.list.d/stx.list && \
apt-get update -y && \
apt-get install -y \
build-essential \
&& \
rm -f /etc/apt/sources.list.d/stx.list && \
rm -f /etc/apt/sources.list.d/debian.list && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Enable stx repo only. Packages installs below this point will use
# only the managed locally-built & 3rd-party repos.
RUN set -ex && \