This commit is contained in:
root
2022-03-15 10:02:06 +01:00
commit 46f4a01917
4 changed files with 27 additions and 0 deletions

23
DockerFile Normal file
View File

@@ -0,0 +1,23 @@
from ubuntu:focal
MAINTAINER patrick@neurohr-it.de
LABEL Description="Koha Testing Patrick" Vendor="Patrick" Version="0.1"
#install useful tools
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Europe/Berlin
RUN apt-get update
RUN apt-get install -y tzdata
RUN apt-get -y install wget gnupg git
#add koha repository
#RUN echo deb http://debian.koha-community.org/koha stable main | tee /etc/apt/sources.list.d/koha.list
#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
#Ports rausreichen
EXPOSE 80 3306

2
build.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
docker build -t koha-patrick --file ./DockerFile . --no-cache

0
docker-compose.yml Executable file
View File

2
run.sh Executable file
View File

@@ -0,0 +1,2 @@
#!/bin/bash
docker run -d -it -p 10800:80 -p 10330:3306 --name koha-patrick koha-patrick:latest