Skip to content

Commit 3a5691e

Browse files
committed
Changing the filepaths for the server startup from var to gitpod
1 parent 6ef2d82 commit 3a5691e

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.gitpod.Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ RUN addgroup --gid 33333 gitpod && \
44
useradd --no-log-init --create-home --home-dir /home/gitpod --shell /bin/bash --uid 33333 --gid 33333 gitpod && \
55
usermod -a -G gitpod,couchbase gitpod && \
66
rm -rf /opt/couchbase/var/lib && \
7-
chmod -R g+rwx /opt/couchbase
7+
chmod -R g+rwx /opt/couchbase && \
8+
sed -i 's/var/gipod/g' /opt/couchbase/bin/couchbase-server
89

910
RUN echo "* soft nproc 20000\n"\
1011
"* hard nproc 20000\n"\
@@ -14,5 +15,3 @@ RUN echo "* soft nproc 20000\n"\
1415
#Simple example on how to extend the image to install Java and maven
1516
RUN apt-get -qq update && \
1617
apt-get install -yq maven default-jdk
17-
18-
USER gitpod

0 commit comments

Comments
 (0)