aboutsummaryrefslogtreecommitdiff
path: root/docker/debian-dev/bootstrap/setup.bash
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2024-08-13 22:45:45 +0800
committercrupest <crupest@outlook.com>2024-08-14 00:28:53 +0800
commit8fe3578e17757a50f8285a2759c6b149fe85a0b0 (patch)
treee066917d00637299b80c9251174d3591ba6d1a81 /docker/debian-dev/bootstrap/setup.bash
parent1bca7471d864bf859a6189a87adf92856729ec97 (diff)
downloadcrupest-8fe3578e17757a50f8285a2759c6b149fe85a0b0.tar.gz
crupest-8fe3578e17757a50f8285a2759c6b149fe85a0b0.tar.bz2
crupest-8fe3578e17757a50f8285a2759c6b149fe85a0b0.zip
feat(docker/debian-dev): remove code-server and merge it to debian-dev.
Diffstat (limited to 'docker/debian-dev/bootstrap/setup.bash')
-rwxr-xr-xdocker/debian-dev/bootstrap/setup.bash14
1 files changed, 7 insertions, 7 deletions
diff --git a/docker/debian-dev/bootstrap/setup.bash b/docker/debian-dev/bootstrap/setup.bash
index c72db87..f00c60b 100755
--- a/docker/debian-dev/bootstrap/setup.bash
+++ b/docker/debian-dev/bootstrap/setup.bash
@@ -5,16 +5,16 @@ set -e
export DEBIAN_FRONTEND=noninteractive
/bootstrap/apt-source/setup.bash
+
+apt-get update
+
/bootstrap/setup-user.bash
/bootstrap/setup-base.bash
/bootstrap/setup-dev.bash
-. /bootstrap/func.bash
-
-if is_true "$SETUP_SBUILD"; then
- echo "Setup sbuild..."
- /bootstrap/sbuild/setup.bash
-else
- echo "Sbuild is disabled. Skipped."
+if is_true "$SETUP_CODE_SERVER"; then
+ /bootstrap/setup-code-server.bash
fi
+
+rm -rf /var/lib/apt/lists/*