We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e80f22 commit 30cc757Copy full SHA for 30cc757
.gitpod.Dockerfile
@@ -7,13 +7,14 @@ RUN echo "* soft nproc 20000\n"\
7
8
#Simple example on how to extend the image to install Java and maven
9
RUN apt-get -qq update && \
10
- apt-get install -yq maven default-jdk acl
+ apt-get install -yq maven default-jdk acl sudo
11
12
RUN chmod -R g+rwX /opt/couchbase && \
13
addgroup --gid 33333 gitpod && \
14
useradd --no-log-init --create-home --home-dir /home/gitpod --shell /bin/bash --uid 33333 --gid 33333 gitpod && \
15
usermod -a -G gitpod,couchbase,sudo gitpod && \
16
- setfacl -d -m g::rwX /opt/couchbase
17
-
+ echo 'gitpod ALL=(ALL) NOPASSWD:ALL'>> /etc/sudoers
18
19
-USER gitpod
+USER gitpod
+RUN sudo chown -R gitpod:gitpod /opt/couchbase/var
20
+
0 commit comments