はじめに
個人的に使っている環境の構築メモです
dockerのインストール
# https://docs.docker.com/engine/install/ubuntu/
# Add Docker's official GPG key:
sudo apt-get update
sudo apt-get install ca-certificates curl
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
# Add the repository to Apt sources:
echo \
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
$(. /etc/os-release && echo "${UBUNTU_CODENAME:-$VERSION_CODENAME}") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
プログラミング言語関係
# Elixir
# Miseのインストールスクリプトを実行
curl https://mise.jdx.dev/install.sh | sh
# ~/.bashrc にMiseを追加
echo 'eval "$(~/.local/bin/mise activate bash)"' >> ~/.bashrc
# 現在のシェルに反映
source ~/.bashrc
sudo apt update
sudo apt install -y automake autoconf libssl-dev libncurses-dev
# 最新erlang27.3.1をインストール
mise use -g erlang@27.3.1
mise use -g elixir@1.18.3-otp-27
その他
sudo apt install inotify-tools