Last active
December 12, 2021 15:13
-
-
Save vkuberan/832fbeb5799f07a35e05473b47c843af to your computer and use it in GitHub Desktop.
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
FROM ubuntu:latest | |
ENV DEBIAN_FRONTEND=noninteractive | |
ENV TZ=Asia/Kolkata | |
LABEL maintainer="vkuberan@gmail.com" | |
CMD echo "Installing Latest Ubuntu along with Apache and PHP...." | |
RUN apt-get update && apt-get upgrade | |
RUN apt-get install -y \ | |
iputils-ping \ | |
vim \ | |
systemctl \ | |
git \ | |
apache2 \ | |
apache2-utils \ | |
mariadb-client \ | |
php \ | |
libapache2-mod-php \ | |
php-mysql \ | |
php-curl \ | |
php-gd \ | |
php-mbstring \ | |
php-xml \ | |
php-soap \ | |
php-intl \ | |
php-zip | |
COPY 000-default.conf /etc/apache2/sites-available/ | |
CMD a2enmod rewrite | |
CMD systemctl restart apache2 | |
RUN apt clean | |
EXPOSE 80 | |
ENTRYPOINT apachectl -D FOREGROUND |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment