Move settings into devcontainer.json

This commit is contained in:
Chuck Lantz
2019-05-28 12:59:34 -07:00
parent b36e529034
commit c304afad0c
3 changed files with 4 additions and 7 deletions

View File

@@ -33,9 +33,6 @@ RUN go get -x -d github.com/stamblerre/gocode 2>&1 \
&& go build -o gocode-gomod github.com/stamblerre/gocode \ && go build -o gocode-gomod github.com/stamblerre/gocode \
&& mv gocode-gomod $GOPATH/bin/ && 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) # Install git, process tools, lsb-release (common in install instructions for CLIs)
RUN apt-get -y install git procps lsb-release RUN apt-get -y install git procps lsb-release

View File

@@ -9,5 +9,8 @@
"--cap-add=SYS_PTRACE", "--cap-add=SYS_PTRACE",
"--security-opt", "--security-opt",
"seccomp=unconfined" "seccomp=unconfined"
] ],
"settings": {
"go.gopath": "/go"
}
} }

View File

@@ -1,3 +0,0 @@
{
"go.gopath": "/go"
}