mirror of
https://github.com/luxfi/cli.git
synced 2026-10-30 17:01:20 +00:00
Update CLI for genesis Fix import paths from ethereum/go-ethereum to luxfi/geth - Replace all ethereum/go-ethereum imports with luxfi/geth - Add local rawdb package for unexported constants - Fix build errors in genesis tools - Add comprehensive migration documentation - Create build-all.sh script for building all tools - Clean up duplicate functions and unused imports Fix remaining imports Update CLI Remove symlink Remove local replace directives Update Update old templates
16 lines
1.0 KiB
Bash
16 lines
1.0 KiB
Bash
#!/usr/bin/env bash
|
|
{{ if .IsE2E }}
|
|
echo "E2E detected"
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
sudo apt-get -y update && sudo apt-get -y install busybox-static software-properties-common
|
|
sudo add-apt-repository -y ppa:longsleep/golang-backports
|
|
sudo apt-get -y update && sudo apt-get -y dist-upgrade && sudo apt-get -y install ca-certificates curl gcc git golang-go
|
|
sudo install -m 0755 -d /etc/apt/keyrings && sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyrings/docker.asc && sudo chmod a+r /etc/apt/keyrings/docker.asc
|
|
echo deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu $(. /etc/os-release && echo \"$VERSION_CODENAME\") stable | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
|
|
sudo apt-get -y update && sudo apt-get -y install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin docker-compose
|
|
sudo usermod -aG docker ubuntu
|
|
sudo chgrp ubuntu /var/run/docker.sock
|
|
sudo chmod +rw /var/run/docker.sock
|
|
{{ end }}
|
|
mkdir -p ~/.lux-cli
|