-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the Ubuntu version in the toastfile to 22.04 LTS
- Loading branch information
1 parent
21b5922
commit 1e99af5
Showing
1 changed file
with
7 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: | | ||
|
@@ -29,20 +29,20 @@ tasks: | |
command: | | ||
# Install the following packages: | ||
# | ||
# - build-essential - Used to link some crates | ||
# - curl - Used for installing Tagref and Rust | ||
# - gcc-aarch64-linux-gnu - Used for linking the binary for AArch64 | ||
# - gcc-x86-64-linux-gnu - Used for linking the binary for x86-64 | ||
# - git - Required by pre-commit | ||
# - python3-pip - Used for installing and running pre-commit | ||
# - pre-commit - Used for testing the pre-commit configuration | ||
# - ripgrep - Used for various linting tasks | ||
# - shellcheck - Used for linting shell scripts | ||
apt-get update | ||
apt-get install --yes \ | ||
build-essential \ | ||
curl \ | ||
gcc-aarch64-linux-gnu \ | ||
gcc-x86-64-linux-gnu \ | ||
git \ | ||
python3-pip \ | ||
pre-commit \ | ||
ripgrep \ | ||
shellcheck | ||
|
@@ -59,8 +59,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. | ||
|
@@ -146,10 +146,6 @@ tasks: | |
- artifacts | ||
- target | ||
command: | | ||
# Install pre-commit. | ||
pip3 install pre-commit | ||
PATH="$PATH:/home/user/.local/bin" | ||
# Set up a Git repository. | ||
git config --global user.email '[email protected]' | ||
git config --global user.name 'Tagref' | ||
|