cods / on_startup.sh
nyanya
fix: many
60f03ed
raw
history blame
537 Bytes
#!/bin/bash
# Write some commands here that will run on root user before startup.
# For example, to clone transformers and install it in dev mode:
# git clone https://github.com/huggingface/transformers.git
# cd transformers && pip install -e ".[dev]"
# useradd -m aku && adduser aku sudo && echo 'aku:aku' | sudo chpasswd && sed -i 's/\/bin\/sh/\/bin\/bash/g' /etc/passwd
# /usr/bin/newuidmap 1500 0 1000 1 1 100000 65536
#cd /usr/lib/node_modules/code-server/lib/vscode/ && npm i . --production --force
conda install -c conda-forge gh