Last active
August 10, 2023 09:50
-
-
Save autotrof/eb8c71be4c74b9260fef645cbca27c3d to your computer and use it in GitHub Desktop.
install dependencies for web developer in code-server container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apt update -y | |
apt upgrade -y | |
apt install nvm ncdu htop default-mysql-client git -y | |
nvm install --lts && npm i -g nodemon yarn pm2 forever | |
apt install software-properties-common -y | |
add-apt-repository ppa:ondrej/php -y | |
apt update -y | |
apt install php8.2 php8.2-fpm php8.2-mysql php8.2-mbstring php8.2-xml php8.2-gd php8.2-curl -y | |
apt install php7.4 php7.4-fpm php7.4-mysql php7.4-mbstring php7.4-xml php7.4-gd php7.4-curl php7.4-json -y | |
apt upgrade | |
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" | |
php -r "if (hash_file('sha384', 'composer-setup.php') === 'e21205b207c3ff031906575712edab6f13eb0b361f2085f1f1237b7126d785e826a450292b6cfd1d64d9> | |
php composer-setup.php | |
php -r "unlink('composer-setup.php');" | |
mv composer.phar /usr/local/bin/composer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment