We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e19234 commit 72cbb38Copy full SHA for 72cbb38
.dockerignore
@@ -0,0 +1,4 @@
1
+Dockerfile
2
+.git
3
+data
4
+conf
Dockerfile
@@ -0,0 +1,22 @@
+FROM debian:jessie-slim
+
+# Install prerequisites
+RUN apt-get update \
5
+ && apt-get upgrade -y \
6
+ && apt-get install -y libsasl2-dev python-dev libldap2-dev libssl-dev curl \
7
+ make gcc bzip2 libreadline-dev zlib1g-dev libkrb5-dev \
8
+ python-pip libffi-dev libffi6 memcached git python-xattr
9
10
+ADD . /opt/ccs
11
+WORKDIR /opt/ccs
12
13
+# Run configuration script
14
+RUN ./bin/develop
15
16
+# Create a new user. The UUID can be changed, but it is necessary to set one if
17
+# you want to mount the /data folder as a Docker volume
18
+RUN useradd ccs-user -d /opt/ccs -u 1001
19
+RUN chown -R ccs-user:ccs-user /opt/ccs
20
21
+USER ccs-user
22
+CMD ["./bin/run", "-n"]
0 commit comments