Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
synergy
o3skim
Commits
87086223
Commit
87086223
authored
Oct 26, 2020
by
BorjaEst
Browse files
Added devcontainer to easy build env in vscode
parent
f104410e
Changes
1
Hide whitespace changes
Inline
Side-by-side
.devcontainer/devcontainer.json
0 → 100644
View file @
87086223
//
For
format
details,
see
https://aka.ms/vscode-remote/devcontainer.json
or
this
file's
README
at:
//
https://github.com/microsoft/vscode-dev-containers/tree/v
0.134
.
1
/containers/docker-existing-dockerfile
{
"name"
:
"Existing Dockerfile"
,
//
Sets
the
run
context
to
one
level
up
instead
of
the
.devcontainer
folder.
"context"
:
".."
,
//
Update
the
'dockerFile'
property
if
you
aren't
using
the
standard
'Dockerfile'
filename.
"dockerFile"
:
"../Dockerfile"
,
//
Set
*default*
container
specific
settings.json
values
on
container
create.
"settings"
:
{
"terminal.integrated.shell.linux"
:
"/bin/bash"
},
//
Add
the
IDs
of
extensions
you
want
installed
when
the
container
is
created.
"extensions"
:
[
"ms-python.python"
,
"lextudio.restructuredtext"
]
//
Use
'forwardPorts'
to
make
a
list
of
ports
inside
the
container
available
locally.
//
"forwardPorts"
:
[],
//
Uncomment
the
next
line
to
run
commands
after
the
container
is
created
-
for
example
installing
curl.
//
"postCreateCommand"
:
"apt-get update && apt-get install -y curl"
,
//
Uncomment
when
using
a
ptrace-based
debugger
like
C++
,
Go
,
and
Rust
//
"runArgs"
:
[
"--cap-add=SYS_PTRACE"
,
"--security-opt"
,
"seccomp=unconfined"
],
//
Uncomment
to
use
the
Docker
CLI
from
inside
the
container.
See
https://aka.ms/vscode-remote/samples/docker-from-docker.
//
"mounts"
:
[
"source=/var/run/docker.sock,target=/var/run/docker.sock,type=bind"
],
//
Uncomment
to
connect
as
a
non-root
user
if
you've
added
one.
See
https://aka.ms/vscode-remote/containers/non-root.
//
"remoteUser"
:
"vscode"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment