mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-10-12 10:30:37 -04:00
remove rust from readme
This commit is contained in:
parent
2fb4c15753
commit
f025afce98
2 changed files with 0 additions and 51 deletions
|
@ -14,10 +14,6 @@ ENV PATH ${PATH}:/usr/local/go/bin
|
||||||
# Install wireguard-tools
|
# Install wireguard-tools
|
||||||
RUN git clone -b v1.0.20210914 --depth=1 https://git.zx2c4.com/wireguard-tools && make -C wireguard-tools/src -j`nproc` && make -C wireguard-tools/src install
|
RUN git clone -b v1.0.20210914 --depth=1 https://git.zx2c4.com/wireguard-tools && make -C wireguard-tools/src -j`nproc` && make -C wireguard-tools/src install
|
||||||
|
|
||||||
# Install Rust
|
|
||||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
|
||||||
ENV PATH /root/.cargo/bin:${PATH}
|
|
||||||
|
|
||||||
# Setup CLI
|
# Setup CLI
|
||||||
RUN wg genkey | (umask 0077 && tee /privatekey) | wg pubkey > /publickey
|
RUN wg genkey | (umask 0077 && tee /privatekey) | wg pubkey > /publickey
|
||||||
RUN mkdir -p /root/.config/constellation && touch /root/.config/constellation/config.json
|
RUN mkdir -p /root/.config/constellation && touch /root/.config/constellation/config.json
|
||||||
|
|
47
README.md
47
README.md
|
@ -6,13 +6,6 @@
|
||||||
### Ubuntu 20.04
|
### Ubuntu 20.04
|
||||||
```sh
|
```sh
|
||||||
sudo apt install build-essential cmake libssl-dev pkg-config libcryptsetup12 libcryptsetup-dev
|
sudo apt install build-essential cmake libssl-dev pkg-config libcryptsetup12 libcryptsetup-dev
|
||||||
curl https://sh.rustup.rs -sSf | sh
|
|
||||||
```
|
|
||||||
|
|
||||||
### Amazon Linux
|
|
||||||
```sh
|
|
||||||
sudo yum install cmake3 gcc make
|
|
||||||
curl https://sh.rustup.rs -sSf | sh
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Build
|
## Build
|
||||||
|
@ -23,46 +16,6 @@ cmake ..
|
||||||
make -j`nproc`
|
make -j`nproc`
|
||||||
```
|
```
|
||||||
|
|
||||||
## CMake build options:
|
|
||||||
|
|
||||||
### Release build
|
|
||||||
|
|
||||||
This options leaves out debug symbols and turns on more compiler optimizations.
|
|
||||||
|
|
||||||
```sh
|
|
||||||
cmake -DCMAKE_BUILD_TYPE=Release ..
|
|
||||||
```
|
|
||||||
|
|
||||||
### Static build (coordinator as static binary, no dependencies on libc or other libraries)
|
|
||||||
|
|
||||||
Install the musl-toolchain
|
|
||||||
|
|
||||||
Ubuntu / Debian:
|
|
||||||
```sh
|
|
||||||
sudo apt install -y musl-tools
|
|
||||||
rustup target add x86_64-unknown-linux-musl
|
|
||||||
```
|
|
||||||
|
|
||||||
From source (Amazon-Linux):
|
|
||||||
```sh
|
|
||||||
wget https://musl.libc.org/releases/musl-1.2.2.tar.gz
|
|
||||||
tar xfz musl-1.2.2.tar.gz
|
|
||||||
cd musl-1.2.2
|
|
||||||
./configure
|
|
||||||
make -j `nproc`
|
|
||||||
sudo make install
|
|
||||||
rustup target add x86_64-unknown-linux-musl
|
|
||||||
```
|
|
||||||
Add `musl-gcc` to your PATH:
|
|
||||||
```sh
|
|
||||||
export PATH=$PATH:/usr/loca/musl/bin/
|
|
||||||
```
|
|
||||||
|
|
||||||
Compile the coordinator
|
|
||||||
```sh
|
|
||||||
cmake -DCOORDINATOR_STATIC_MUSL=ON ..
|
|
||||||
```
|
|
||||||
|
|
||||||
## Cloud credentials
|
## Cloud credentials
|
||||||
|
|
||||||
Using the CLI or debug-CLI requires the user to make authorized API calls to the AWS or GCP API.
|
Using the CLI or debug-CLI requires the user to make authorized API calls to the AWS or GCP API.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue