File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ RUN rm -rf /opt/couchbase/var/lib && \
55 addgroup --gid 33333 gitpod && \
66 useradd --no-log-init --create-home --home-dir /home/gitpod --shell /bin/bash --uid 33333 --gid 33333 gitpod && \
77 usermod -a -G gitpod,couchbase gitpod && \
8- chown -R gitpod:gitpod /opt/couchbase/var
8+ chown -R gitpod:gitpod /opt/couchbase/var /etc/service /etc/runit/runsvdir/default/couchbase-server/supervise && \
9+ sed -i -e 's/couchbase:couchbase/gitpod:gipod/g' -e 's/-ucouchbase/-ugitpod/g' -e 's/"couchbase"/"gitpod"/g' /etc/service/couchbase-server/run
10+
911
1012RUN echo "* soft nproc 20000\n " \
1113"* hard nproc 20000\n " \
@@ -16,6 +18,4 @@ RUN echo "* soft nproc 20000\n"\
1618RUN apt-get -qq update && \
1719 apt-get install -yq maven default-jdk
1820
19- USER gitpod
20- RUN /opt/couchbase/bin/couchbase-server --start && sleep 10 && /opt/couchbase/bin/couchbase-server --stop && sleep 5
2121
You can’t perform that action at this time.
0 commit comments