We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f536c5e commit 06d8a7cCopy full SHA for 06d8a7c
Dockerfile.ocs
@@ -0,0 +1,17 @@
1
+FROM debian:jessie
2
+ENV HOME_DIR /var/ocs_home
3
+ENV WORK_DIR /var/ocs_home/src
4
+
5
+RUN apt-get update -qq \
6
+ && apt-get install -qq -y --no-install-recommends git ca-certificates php5-cli php5-pgsql \
7
+ && rm -rf /var/lib/apt/lists/*
8
9
+RUN useradd -m -d $HOME_DIR -s /bin/bash ocs
10
+USER ocs
11
12
+RUN git clone -b ocs-dev-2_3 https://github.com/Lax/ocs.git $WORK_DIR
13
+WORKDIR $WORK_DIR
14
+RUN git submodule update --init --recursive
15
+RUN cp config.TEMPLATE.inc.php config.inc.php
16
+EXPOSE 8000
17
+CMD ["php", "-S", "0.0.0.0:8000"]
0 commit comments