File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 11FROM couchbase:latest
22
3- RUN addgroup --gid 33333 gitpod && \
3+ RUN rm -rf /opt/couchbase/var/lib && \
4+ chmod -R 777 /opt/couchbase && \
5+ addgroup --gid 33333 gitpod && \
46 useradd --no-log-init --create-home --home-dir /home/gitpod --shell /bin/bash --uid 33333 --gid 33333 gitpod && \
57 usermod -a -G gitpod,couchbase gitpod && \
6- rm -rf /opt/couchbase/var/lib && \
7- chmod -R g+rwx /opt/couchbase && \
8- mkdir /opt/couchbase/gitpod && \
9- chown gitpod:gitpod /opt/couchbase/gitpod && \
10- sed -i 's/var/gitpod/g' /opt/couchbase/bin/couchbase-server
8+ chown -R gitpod:gitpod /opt/couchbase/var
119
1210RUN echo "* soft nproc 20000\n " \
1311"* hard nproc 20000\n " \
@@ -17,3 +15,5 @@ RUN echo "* soft nproc 20000\n"\
1715# Simple example on how to extend the image to install Java and maven
1816RUN apt-get -qq update && \
1917 apt-get install -yq maven default-jdk
18+
19+ USER gitpod
You can’t perform that action at this time.
0 commit comments