This commit is contained in:
root
2022-03-15 10:39:53 +01:00
parent f4890b1c87
commit f7e45ec47c
3 changed files with 17 additions and 6 deletions

View File

@@ -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" ]

View File

View File

@@ -1,3 +1,3 @@
#!/bin/bash
echo "starting apache2"
/sbin/apachectl start
echo -e "starting apache2"
apachectl start