diff options
author | crupest <crupest@outlook.com> | 2024-08-15 00:08:43 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2024-08-15 00:08:43 +0800 |
commit | 909c5e8aa53017eaffd4171835b3c66949c64f7f (patch) | |
tree | 09504e7755b7803e518baaa11d255f35ed6c9817 /docker/crupest-debian-dev/bootstrap/setup.bash | |
parent | 1bca7471d864bf859a6189a87adf92856729ec97 (diff) | |
parent | d50545a36323e7a9775ab933021a94a9d98058f4 (diff) | |
download | crupest-909c5e8aa53017eaffd4171835b3c66949c64f7f.tar.gz crupest-909c5e8aa53017eaffd4171835b3c66949c64f7f.tar.bz2 crupest-909c5e8aa53017eaffd4171835b3c66949c64f7f.zip |
Merge branch 'debian-dev'
Diffstat (limited to 'docker/crupest-debian-dev/bootstrap/setup.bash')
-rwxr-xr-x | docker/crupest-debian-dev/bootstrap/setup.bash | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/docker/crupest-debian-dev/bootstrap/setup.bash b/docker/crupest-debian-dev/bootstrap/setup.bash new file mode 100755 index 0000000..09b8137 --- /dev/null +++ b/docker/crupest-debian-dev/bootstrap/setup.bash @@ -0,0 +1,30 @@ +#! /usr/bin/env bash + +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 "$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." |