Skip to content

Commit

Permalink
keep gitpod as backup
Browse files Browse the repository at this point in the history
  • Loading branch information
pattacini authored Oct 8, 2024
1 parent 621c005 commit 12badc9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ RUN gem install yaml

RUN rm -Rf /var/lib/apt/lists/*

RUN useradd -l -u 33333 -G sudo -md /home/coder -s /bin/bash -p coder coder && \
RUN useradd -l -u 33333 -G sudo -md /home/gitpod -s /bin/bash -p gitpod gitpod && \
sed -i.bkp -e 's/%sudo\s\+ALL=(ALL\(:ALL\)\?)\s\+ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers

EXPOSE 8000
Expand Down
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
},
"extensions": [],
"forwardPorts": [8000],
"remoteUser": "coder"
"remoteUser": "gitpod"
}
5 changes: 5 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
image:
file: ./.devcontainer/Dockerfile
ports:
- port: 8000
onOpen: notify

0 comments on commit 12badc9

Please sign in to comment.