Public Repository

Last pushed: a year ago
Short Description
Short description is empty for this repo.
Full Description

FROM yanntllr/ubuntu-infra

VOLUME /var/www/html/
VOLUME /var/lib/mysql/

#recuration des sources
COPY . /sources/sso

#instalation d'apache, mariaDB, git
RUN apt-get -y install apache2 mariadb-client mariadb-common mariadb-server mariadb-test
RUN apt-get -y install php5 php5-common libapache2-mod-php5 php5-mysql

#ajout d'un utilisateur
RUN useradd -m -d /home/php -p aai6p0orwS6qE php

#test du serveur
COPY ./index.php /var/www/html/index.php

#Ouverture des ports http
EXPOSE 80
EXPOSE 8000
CMD bash

#index.php

##<?php

##phpinfo();

Docker Pull Command
Owner
yanntllr

Comments (0)