Skip to content

Commit 23da945

Browse files
committed
Still trying to fix the file permission issues during server startup
1 parent 65f459f commit 23da945

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.gitpod.Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ RUN echo "* soft nproc 20000\n"\
99
RUN apt-get -qq update && \
1010
apt-get install -yq maven default-jdk
1111

12-
RUN rm -rf /opt/couchbase/var && \
12+
RUN /opt/couchbase/bin/couchbase-server --stop || \
13+
rm -rf /opt/couchbase/var && \
1314
chmod -R 777 /opt/couchbase && \
1415
addgroup --gid 33333 gitpod && \
1516
useradd --no-log-init --create-home --home-dir /home/gitpod --shell /bin/bash --uid 33333 --gid 33333 gitpod && \

0 commit comments

Comments
 (0)