diff options
author | crupest <crupest@outlook.com> | 2024-08-14 00:28:12 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2024-08-14 11:28:11 +0800 |
commit | e272d8667a64852452a076d180149a975e52a109 (patch) | |
tree | 027ac0f97891993b1deac6569d7b26730378ddf6 /docker/crupest-debian-dev/bootstrap/setup.bash | |
parent | 4ffd7559a226d74c3560d95174a5576d4ac17ef5 (diff) | |
download | crupest-e272d8667a64852452a076d180149a975e52a109.tar.gz crupest-e272d8667a64852452a076d180149a975e52a109.tar.bz2 crupest-e272d8667a64852452a076d180149a975e52a109.zip |
feat(docker/debian-dev): add more output, rename vars and fix some bugs.
Diffstat (limited to 'docker/crupest-debian-dev/bootstrap/setup.bash')
-rwxr-xr-x | docker/crupest-debian-dev/bootstrap/setup.bash | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/docker/crupest-debian-dev/bootstrap/setup.bash b/docker/crupest-debian-dev/bootstrap/setup.bash index 1aaff50..09b8137 100755 --- a/docker/crupest-debian-dev/bootstrap/setup.bash +++ b/docker/crupest-debian-dev/bootstrap/setup.bash @@ -4,19 +4,27 @@ set -e export DEBIAN_FRONTEND=noninteractive +echo "Setting up crupest-debian-dev..." + . /bootstrap/func.bash /bootstrap/apt-source/setup.bash +echo "Updating apt source index..." apt-get update +echo "Updating apt source index done." /bootstrap/setup-user.bash /bootstrap/setup-base.bash /bootstrap/setup-dev.bash -if is_true "$SETUP_CODE_SERVER"; then +if is_true "$CRUPEST_DEBIAN_DEV_SETUP_CODE_SERVER"; then + echo "CRUPEST_DEBIAN_DEV_SETUP_CODE_SERVER is true, setting up code-server..." /bootstrap/setup-code-server.bash fi - +echo "Cleaning up apt source index..." rm -rf /var/lib/apt/lists/* +echo "Cleaning up apt source index done." + +echo "Setting up crupest-debian-dev done." |