Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 12 additions & 17 deletions Dockerfile.base
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,13 @@ RUN <<EOF
openssh-client \
parallel \
pkg-config \
python3 \
python3-dev \
python3-pip \
python3-ply \
python3-setuptools \
python3-venv \
python-is-python3 \
rsync \
socat \
srecord \
Expand All @@ -100,34 +107,22 @@ RUN <<EOF

# Install x86-64 image-specific packages
if [ "${HOSTTYPE}" = "x86_64" ]; then
# Mark `python3` as held because APT otherwise tries to remove it during i386
# package installation.
apt-mark hold python3 python3-apt

# Install multi-lib gcc
apt-get install --no-install-recommends -y \
gcc-multilib \
g++-multilib

# Install 32-bit dependencies
#apt-get install --no-install-recommends -y \
apt-get install -y \
apt-get install --no-install-recommends -y \
libc6-dbg:i386 \
libfuse-dev:i386 \
libsdl2-dev:i386

# Ensure that software-properties-common is installed because
# it may be removed by the above step
apt-get install --no-install-recommends -y \
software-properties-common
fi

# Install Python
apt-get install --no-install-recommends -y \
python3 \
python3-dev \
python3-pip \
python3-ply \
python3-setuptools \
python3-venv \
python-is-python3

# Clean up stale packages
apt-get autoremove --purge -y

Expand Down