diff options
author | crupest <crupest@outlook.com> | 2024-08-13 22:45:45 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2024-08-14 00:28:53 +0800 |
commit | 8fe3578e17757a50f8285a2759c6b149fe85a0b0 (patch) | |
tree | e066917d00637299b80c9251174d3591ba6d1a81 /docker/debian-dev/bootstrap/setup.bash | |
parent | 1bca7471d864bf859a6189a87adf92856729ec97 (diff) | |
download | crupest-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-x | docker/debian-dev/bootstrap/setup.bash | 14 |
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/* |