We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 367b322 commit 4d77474Copy full SHA for 4d77474
.gitpod.Dockerfile
@@ -1,9 +1,14 @@
1
FROM couchbase:latest
2
3
-RUN echo "couchbase soft nproc 20000\n"\
4
-"couchbase hard nproc 20000\n"\
5
-"couchbase soft nofile 200000\n"\
6
-"couchbase hard nofile 200000\n" >> /etc/security/limits.conf
+RUN addgroup --gid 33333 gitpod && \
+ useradd --no-log-init --create-home --home-dir /home/gitpod --shell /bin/bash --uid 33333 --gid 33333 gitpod && \
+ usermod -a -G gitpod,couchbase gitpod && \
+ chmod -R g+rwx /opt/couchbase
7
+
8
+RUN echo "* soft nproc 20000\n"\
9
+"* hard nproc 20000\n"\
10
+"* soft nofile 200000\n"\
11
+"* hard nofile 200000\n" >> /etc/security/limits.conf
12
13
#Simple example on how to extend the image to install Java and maven
14
RUN apt-get -qq update && \
0 commit comments