A quick and easy way to spin up a Linux environment with a web server ready to go. Perfect for quick and dirty experiments and proof of concept projects.
docker-compose up --build -d
docker exec -it debian_apache bash
-
apt-get install -y python3 python3-pip -
python3 --version -
pip3 --version -
ln -s /usr/bin/python3 /usr/bin/python
-
curl -LO https://go.dev/dl/go1.23.5.linux-amd64.tar.gz -
tar -C /usr/local -xzf go1.23.5.linux-amd64.tar.gz -
echo "export PATH=$PATH:/usr/local/go/bin" >> /root/.bashrc -
. /root/.bashrc -
go version
-
/bin/bash -c "$(curl -fsSL https://php.new/install/linux/8.4)" -
. /root/.bashrc -
php -v
-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.1/install.sh | bash -
. /root/.bashrc -
nvm install node -
node -v