mirror of
https://github.com/coder/envbuilder-starter-devcontainer.git
synced 2026-01-11 23:49:12 +00:00
Initial commit
This commit is contained in:
10
.devcontainer/Dockerfile
Normal file
10
.devcontainer/Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
FROM ubuntu
|
||||||
|
|
||||||
|
RUN apt-get update
|
||||||
|
RUN apt-get install vim sudo -y
|
||||||
|
|
||||||
|
RUN useradd -m -s /bin/bash -G sudo coder
|
||||||
|
USER coder
|
||||||
|
|
||||||
|
# Let's add a fancy prompt!
|
||||||
|
RUN echo "PS1='🐳 \[\033[1;36m\]\h \[\033[1;34m\]\W\[\033[0;35m\] \[\033[1;36m\]# \[\033[0m\]'" > ~/.bashrc
|
||||||
5
.devcontainer/devcontainer.json
Normal file
5
.devcontainer/devcontainer.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"build": {
|
||||||
|
"dockerfile": "Dockerfile"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user