Skip to content

Commit

Permalink
Merge pull request #2 from QuantumObject/test
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
angelrr7702 authored Nov 12, 2017
2 parents e99f345 + 9702a1d commit b12d0b1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
#name of container: docker-ka-lite
#versison of container: 1.1
#versison of container: 2.1

FROM quantumobject/docker-baseimage:16.04
MAINTAINER Angel Rodriguez "[email protected]"

RUN export USER=ka-lite

#add repository and update the container
#Installation of nesesary package/software for this containers...
RUN echo "deb http://archive.ubuntu.com/ubuntu `cat /etc/container_environment/DISTRIB_CODENAME`-backports main restricted " >> /etc/apt/sources.list \
&& echo "deb http://ppa.launchpad.net/learningequality/ka-lite/ubuntu `cat /etc/container_environment/DISTRIB_CODENAME` main " >> /etc/apt/sources.list \
# Update the container
# Installation of nesesary package/software for this containers...
RUN echo "deb http://ppa.launchpad.net/learningequality/ka-lite/ubuntu `cat /etc/container_environment/DISTRIB_CODENAME` main " >> /etc/apt/sources.list \
&& apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3194DD81
RUN apt-get update && apt-get install -y -q net-tools ka-lite \
&& apt-get clean \
Expand All @@ -23,7 +22,8 @@ RUN mkdir -p /etc/my_init.d
COPY startup.sh /etc/my_init.d/startup.sh
RUN chmod +x /etc/my_init.d/startup.sh

VOLUME /var/ka-lite/.kalite
VOLUME /var/ka-lite/.kalite/content
VOLUME /var/ka-lite/.kalite/database

#expose port for https service
EXPOSE 8008
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Docker container for KA Lite
To install docker in Ubuntu 16.04 use the commands:

$ sudo apt-get update
$ sudo apt-get install docker.io
$ sudo wget -qO- https://get.docker.com/ | sh

To install docker in other operating systems check [docker online documentation][4]

Expand Down

0 comments on commit b12d0b1

Please sign in to comment.