From 6508d52c5ff7941961b8d87e77dd020ddbbff186 Mon Sep 17 00:00:00 2001 From: Larry Price Date: Mon, 23 Feb 2015 14:09:34 -0500 Subject: [PATCH] removing some excess from the Dockerfile and adding a README --- Dockerfile | 4 +--- README | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 README diff --git a/Dockerfile b/Dockerfile index 1c7acb8..62762fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM debian:jessie +MAINTAINER Larry Price ENV DEBIAN_FRONTEND noninteractive @@ -16,9 +17,6 @@ RUN service postgresql start RUN git clone https://github.com/francoisjacquet/rosariosis.git /usr/src/rosariosis -WORKDIR /usr/src/rosariosis -RUN git checkout -b 2.7.4 - RUN rm -rf /var/www/html && mkdir -p /var/www && ln -s /usr/src/rosariosis/ /var/www/html && chmod 777 /var/www/html ADD bin/init /init diff --git a/README b/README new file mode 100644 index 0000000..3ba0a11 --- /dev/null +++ b/README @@ -0,0 +1,23 @@ +docker-rosariosis +================= + +A Dockerfile that installs the latest [RosarioSIS](http://www.rosariosis.org/). This file pulls from the master branch, but can be easily modified to pull from any other available branch or tagged release. + +## Installation + +``` +git clone https://github.com/larryprice/docker-rosario.git +cd docker-rosario +docker build -t rosariosis . +``` + +## Usage + +RosarioSIS uses a Postgres database: + +``` bash +$ docker create --name rosariodb postgres:9.4 +$ docker run -d --link rosariodb:rosariodb rosariosis +``` + +Port 80 will be exposed, so you can visit `localhost` to get started. The default username is `admin` and the default password is `admin`.