Skip to content

Commit

Permalink
Merge pull request #509 from stepchowfun/ubuntu-22.04
Browse files Browse the repository at this point in the history
Update the Ubuntu version in the toastfile to 22.04 LTS
  • Loading branch information
stepchowfun committed May 4, 2024
2 parents cce508c + 5ddfb8b commit 6ed74e3
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion integration-tests/base-images/centos/toast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/base-images/debian/toast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/base-images/fedora/toast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/base-images/ubuntu/toast.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 5 additions & 3 deletions toast.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: ubuntu:22.04
image: ubuntu:24.04
default: build
user: user
command_prefix: |
Expand Down Expand Up @@ -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
Expand All @@ -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 \
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 6ed74e3

Please sign in to comment.