Move settings into devcontainer.json
This commit is contained in:
@@ -33,9 +33,6 @@ RUN go get -x -d github.com/stamblerre/gocode 2>&1 \
|
||||
&& go build -o gocode-gomod github.com/stamblerre/gocode \
|
||||
&& mv gocode-gomod $GOPATH/bin/
|
||||
|
||||
# Copy default endpoint specific user settings overrides into container to specify Go path
|
||||
COPY settings.vscode.json /root/.vscode-remote/data/Machine/settings.json
|
||||
|
||||
# Install git, process tools, lsb-release (common in install instructions for CLIs)
|
||||
RUN apt-get -y install git procps lsb-release
|
||||
|
||||
|
||||
@@ -9,5 +9,8 @@
|
||||
"--cap-add=SYS_PTRACE",
|
||||
"--security-opt",
|
||||
"seccomp=unconfined"
|
||||
]
|
||||
],
|
||||
"settings": {
|
||||
"go.gopath": "/go"
|
||||
}
|
||||
}
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"go.gopath": "/go"
|
||||
}
|
||||
Reference in New Issue
Block a user