Skip to content

Commit 30cc757

Browse files
committed
Still trying to fix the file permission issues during server startup
1 parent 0e80f22 commit 30cc757

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.gitpod.Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ RUN echo "* soft nproc 20000\n"\
77

88
#Simple example on how to extend the image to install Java and maven
99
RUN apt-get -qq update && \
10-
apt-get install -yq maven default-jdk acl
10+
apt-get install -yq maven default-jdk acl sudo
1111

1212
RUN chmod -R g+rwX /opt/couchbase && \
1313
addgroup --gid 33333 gitpod && \
1414
useradd --no-log-init --create-home --home-dir /home/gitpod --shell /bin/bash --uid 33333 --gid 33333 gitpod && \
1515
usermod -a -G gitpod,couchbase,sudo gitpod && \
16-
setfacl -d -m g::rwX /opt/couchbase
17-
16+
echo 'gitpod ALL=(ALL) NOPASSWD:ALL'>> /etc/sudoers
1817

19-
USER gitpod
18+
USER gitpod
19+
RUN sudo chown -R gitpod:gitpod /opt/couchbase/var
20+

0 commit comments

Comments
 (0)