File size: 891 Bytes
82b1bc7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
#!/bin/bash
# install dev requirements
pip install --no-cache-dir -r ./.devcontainer/requirements.txt
cd /tmp
# install docker to interact with the host if you plan to use remote docker inside the devcontainer
# for example to train a model on the host but in a container, too
# curl -fsSL https://get.docker.com -o get-docker.sh
# sh get-docker.sh
# install aws cli to interact with the aws cli from the devcontainer
# don't forget to configure the aws cli with your credentials inside devcontainer.json
# apt-get install zip -y
# curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
# unzip awscliv2.zip
# ./aws/install
# Install diff-so-fancy
mkdir -p /opt/diff-so-fancy/
curl -fsSL https://github.com/so-fancy/diff-so-fancy/archive/v1.4.4.tar.gz | tar -xz -C /opt/diff-so-fancy --strip-components=1
ln -sf /opt/diff-so-fancy/diff-so-fancy /usr/local/bin |