diff --git a/integration-tests/base-images/centos/toast.yml b/integration-tests/base-images/centos/toast.yml index 323d02b..e1df2bb 100644 --- a/integration-tests/base-images/centos/toast.yml +++ b/integration-tests/base-images/centos/toast.yml @@ -3,7 +3,7 @@ tasks: i_am_root: command: touch /i-am-root.txt create_user: - command: useradd user --shell /bin/bash + command: useradd user --create-home --shell /bin/bash greet: dependencies: - i_am_root diff --git a/integration-tests/base-images/debian/toast.yml b/integration-tests/base-images/debian/toast.yml index 7ff0c5c..010b6c6 100644 --- a/integration-tests/base-images/debian/toast.yml +++ b/integration-tests/base-images/debian/toast.yml @@ -3,7 +3,7 @@ tasks: i_am_root: command: touch /i-am-root.txt create_user: - command: useradd user --shell /bin/bash + command: useradd user --create-home --shell /bin/bash greet: dependencies: - i_am_root diff --git a/integration-tests/base-images/fedora/toast.yml b/integration-tests/base-images/fedora/toast.yml index 34d2c8d..36a7f2e 100644 --- a/integration-tests/base-images/fedora/toast.yml +++ b/integration-tests/base-images/fedora/toast.yml @@ -3,7 +3,7 @@ tasks: i_am_root: command: touch /i-am-root.txt create_user: - command: useradd user --shell /bin/bash + command: useradd user --create-home --shell /bin/bash greet: dependencies: - i_am_root diff --git a/integration-tests/base-images/ubuntu/toast.yml b/integration-tests/base-images/ubuntu/toast.yml index 754aa0b..4e17e07 100644 --- a/integration-tests/base-images/ubuntu/toast.yml +++ b/integration-tests/base-images/ubuntu/toast.yml @@ -3,7 +3,7 @@ tasks: i_am_root: command: touch /i-am-root.txt create_user: - command: useradd user --shell /bin/bash + command: useradd user --create-home --shell /bin/bash greet: dependencies: - i_am_root diff --git a/toast.yml b/toast.yml index 247f7b1..1153332 100644 --- a/toast.yml +++ b/toast.yml @@ -1,4 +1,4 @@ -image: ubuntu:22.04 +image: ubuntu:24.04 default: build user: user command_prefix: | @@ -29,6 +29,7 @@ tasks: command: | # Install the following packages: # + # - build-essential - Used to link some crates # - ca-certificates - Used for fetching Docker's GPG key # - curl - Used for installing Docker, Tagref, and Rust # - gcc-aarch64-linux-gnu - Used for linking the binary for AArch64 @@ -39,6 +40,7 @@ tasks: # - shellcheck - Used for linting shell scripts apt-get update apt-get install --yes \ + build-essential \ ca-certificates \ curl \ gcc-aarch64-linux-gnu \ @@ -78,8 +80,8 @@ tasks: description: Create a user who doesn't have root privileges. user: root command: | - # Create a user named `user` with a home directory. - adduser --disabled-password --gecos '' user + # Create a user named `user` with a home directory and with Bash as the login shell. + useradd user --create-home --shell /bin/bash install_rust: description: Install Rust, a systems programming language.