removing some excess from the Dockerfile and adding a README
This commit is contained in:
parent
42ed59bd22
commit
6508d52c5f
@ -1,4 +1,5 @@
|
||||
FROM debian:jessie
|
||||
MAINTAINER Larry Price <larry@larry-price.com>
|
||||
|
||||
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
|
||||
|
23
README
Normal file
23
README
Normal file
@ -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`.
|
Loading…
Reference in New Issue
Block a user