sdf
This commit is contained in:
19
DockerFile
19
DockerFile
@@ -15,9 +15,20 @@ RUN apt-get -y install wget gnupg git
|
||||
#RUN wget -O- http://debian.koha-community.org/koha/gpg.asc | apt-key add -
|
||||
#RUN apt-get update
|
||||
|
||||
# Install Koha + Apache
|
||||
#RUN apt-get -y install koha-common apache2 mysql-server phpmyadmin
|
||||
RUN apt-get -y install mysql-server
|
||||
# Install Apache2 + php
|
||||
RUN apt-get -y install apache2 php libapache2-mod-php
|
||||
|
||||
#enable System-Services
|
||||
RUN update-rc.d apache2 enable
|
||||
|
||||
#test-git-clone
|
||||
RUN mkdir -p /git
|
||||
|
||||
RUN git clone https://git.neurohr-it.de/pat/koha-docker.git /git
|
||||
RUN cp /git/phpinfo.php /var/www/html/phpinfo.php
|
||||
|
||||
#Ports rausreichen
|
||||
EXPOSE 80 3306
|
||||
EXPOSE 80 3306
|
||||
|
||||
#ENTRYPOINT
|
||||
ENTRYPOINT [ "/git/mystart-script.sh" ]
|
||||
@@ -1,3 +1,3 @@
|
||||
#!/bin/bash
|
||||
echo "starting apache2"
|
||||
/sbin/apachectl start
|
||||
echo -e "starting apache2"
|
||||
apachectl start
|
||||
|
||||
Reference in New Issue
Block a user