Sign inSign up

fabris88/hosting

By fabris88

•Updated almost 2 years ago

Set hostname, update packages, and install required software

Image
Networking
Web servers
Operating systems
0

112

fabris88/hosting repository overview

⁠Use the latest Ubuntu image

FROM ubuntu:latest

⁠Set hostname, update packages, and install required software

RUN echo "dev-environment" > /etc/hostname &&
apt update -y &&
apt upgrade -y &&
apt install -y
curl git wget unzip build-essential
python3 python3-pip libncurses-dev libssl-dev
apache2 php php-cli php-mbstring php-xml php-gd php-mysqli
php-json php-zip php-curl php-ldap mysql-server nodejs &&
apt clean &&
rm -rf /var/lib/apt/lists/*

⁠Start Apache server

CMD ["apachectl", "-D", "FOREGROUND"]

Tag summary

Content type

Image

Digest

sha256:1f93a58b8…

Size

319.8 MB

Last updated

almost 2 years ago

docker pull fabris88/hosting