Skip to content

Commit

Permalink
feat: Support ubuntu 24.04 deps install (#392)
Browse files Browse the repository at this point in the history
* feat: Support installing deps on Ubuntu 24.04

* feat: Add gcc and g++ to suggested deps for build from source
  • Loading branch information
AntiD2ta authored Jul 9, 2024
1 parent ee821a8 commit bdf9cfb
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- New flag `--lido` to `generate` command for Lido CSM setup.
- New Sedge setup flow with `sedge cli` command for Lido CSM setup.
- Support for `sedge keys` to generate 0x01 withdrawal credentials.
- Support for installing Docker in Ubuntu 24.04 LTS.

### Changed

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/quickstart/install-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ Changes made to a profile file may not apply until the next time you log into yo

If you want to install Sedge on a Linux machine, we recommend installing some meta-packages to make the build process possible. You can install them with the following command in some of the major platforms:

Ubuntu and Debian based: `sudo apt-get install build-essential`
Ubuntu and Debian based: `sudo apt-get install gcc g++ build-essential`

Arch: `sudo pacman -S base-devel`

Expand Down
24 changes: 24 additions & 0 deletions templates/setup/linux/docker/ubuntu_24.04.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#!/bin/bash

# Update and Install Dependencies
apt-get update

apt-get install -y \
ca-certificates \
curl \
gnupg \
lsb-release

# Add Docker’s Official GPG key
mkdir -p /etc/apt/keyrings
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor -o /etc/apt/keyrings/docker.gpg

# Setup Stable repo
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.gpg] https://download.docker.com/linux/ubuntu \
$(lsb_release -cs) stable" | tee /etc/apt/sources.list.d/docker.list >/dev/null

# Install Docker
apt-get update -y
apt-get install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin
service docker start

0 comments on commit bdf9cfb

Please sign in to comment.