sdf
This commit is contained in:
17
DockerFile
17
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 wget -O- http://debian.koha-community.org/koha/gpg.asc | apt-key add -
|
||||||
#RUN apt-get update
|
#RUN apt-get update
|
||||||
|
|
||||||
# Install Koha + Apache
|
# Install Apache2 + php
|
||||||
#RUN apt-get -y install koha-common apache2 mysql-server phpmyadmin
|
RUN apt-get -y install apache2 php libapache2-mod-php
|
||||||
RUN apt-get -y install mysql-server
|
|
||||||
|
#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
|
#Ports rausreichen
|
||||||
EXPOSE 80 3306
|
EXPOSE 80 3306
|
||||||
|
|
||||||
|
#ENTRYPOINT
|
||||||
|
ENTRYPOINT [ "/git/mystart-script.sh" ]
|
||||||
@@ -1,3 +1,3 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
echo "starting apache2"
|
echo -e "starting apache2"
|
||||||
/sbin/apachectl start
|
apachectl start
|
||||||
|
|||||||
Reference in New Issue
Block a user