FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
node-code-ide-configs/.devcontainer/Dockerfile.ubuntu-base at main · nodejs/node-code-ide-configs · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
nodejs
/
node-code-ide-configs
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
19
Star
40
Code
Issues
2
Pull requests
2
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
node-code-ide-configs
/
.devcontainer
/
Dockerfile.ubuntu-base
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (17 loc) · 586 Bytes
Breadcrumbs
node-code-ide-configs
/
.devcontainer
/
Dockerfile.ubuntu-base
Copy path
File metadata and controls
19 lines (17 loc) · 586 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Configure an Ubuntu-based dev environment
FROM ubuntu:20.04
RUN apt-get update
RUN apt-get install -y build-essential python3 curl git less vim sudo
RUN curl -L https://raw.githubusercontent.com/tj/n/master/bin/n -o n
RUN bash n lts
ARG UID=1000
ARG GID=1000
RUN adduser --home /home/build --shell /bin/bash --uid $UID build
# allow build user to sudo without password
RUN adduser build sudo
RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
# Create workdir
RUN mkdir -p /workspaces/node
RUN chown build:build /workspaces /workspaces/node
WORKDIR /workspaces/node
USER build
Back
|
FazBrowse Home
|
New Git URL