Skip to content

Commit 48ab087

Browse files
committed
clean
1 parent 3e486dc commit 48ab087

File tree

1 file changed

+2
-13
lines changed

1 file changed

+2
-13
lines changed

src/base/.devcontainer/scripts/root_install.sh

Lines changed: 2 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,14 @@
22
set -e
33
export DEBIAN_FRONTEND=noninteractive
44

5-
# Install essential packages first
6-
apt-get update
7-
apt-get install -y \
8-
curl \
9-
wget \
10-
git \
11-
sudo \
12-
unzip
13-
apt-get clean
14-
rm -rf /var/lib/apt/lists/*
15-
165
# Add amd64 architecture if on arm64
176
if [ "$TARGETARCH" == "arm64" ] || [ "$TARGETARCH" == "aarch64" ]; then
187
echo "Adding amd64 architecture support"
198
dpkg --add-architecture amd64
20-
echo "Running apt-get update for multi-arch"
21-
apt-get update
229
fi
2310

11+
echo "Running apt-get update"
12+
apt-get update
2413
# uninstall unnecessary packages
2514
echo "Removing unnecessary packages"
2615
apt-get remove -y \

0 commit comments

Comments
 (0)