kanidm/scripts/devcontainer_postcreate.sh
Georg dd1d148543
Repair systemd reload notifications (#3355)
In order for the RELOAD and the subsequent READY notifications to be
correctly processed, the RELOAD notification must be accompanied with a
MONOTONIC_USEC one.
2025-01-17 15:17:58 +10:00

48 lines
766 B
Bash
Executable file

#!/bin/bash
set -e
echo "Installing rust stable toolchain"
rustup update
rustup default stable
rustup component add rustfmt clippy
echo "Installing packages"
sudo apt-get update
sudo apt-get install -y \
build-essential \
clang \
cmake \
libtss2-dev \
tpm-udev \
jq \
libpam0g-dev \
libssl-dev \
libsystemd-dev \
libudev-dev \
pkg-config \
ripgrep
export PATH="$HOME/.cargo/bin:$PATH"
cargo install \
sccache
# stupid permissions issues
sudo chown vscode ~/ -R
sudo chgrp vscode ~/ -R
# shellcheck disable=SC1091
source scripts/devcontainer_poststart.sh
cargo install
cargo-audit \
mdbook-mermaid \
mdbook
cargo install mdbook-alerts --version 0.6.4
cargo install deno --locked
echo "Done!"