Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from stelligent/feature/30
Add Readme for VS Code remote
- Loading branch information
Showing
4 changed files
with
76 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#------------------------------------------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information. | ||
#------------------------------------------------------------------------------------------------------------- | ||
|
||
FROM circleci/golang:1.11 | ||
ENV GO111MODULE=on | ||
|
||
# Avoid warnings by switching to noninteractive | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Or your actual UID, GID on Linux if not the default 1000 | ||
ARG USERNAME=circleci | ||
ARG USER_UID=3434 | ||
ARG USER_GID=$USER_UID | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "Go", | ||
"dockerFile": "Dockerfile", | ||
"appPort": 9000, | ||
"extensions": [ | ||
"ms-vscode.go" | ||
], | ||
"runArgs": [ | ||
// Comment out the next two lines to run as root instead. Linux users, | ||
// update Dockerfile with your user's UID/GID if not 1000. | ||
"-u", | ||
"circleci", | ||
"--cap-add=SYS_PTRACE", | ||
"--security-opt", | ||
"seccomp=unconfined" | ||
], | ||
"settings": { | ||
"go.gopath": "/go", | ||
"go.inferGopath": true, | ||
"go.useLanguageServer": true | ||
}, | ||
"postCreateCommand": "echo 'make vscoderemotedev'; make vscoderemotedev" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters