This repository was archived by the owner on Feb 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Cameron Taggart
committed
Apr 24, 2016
1 parent
96c1c62
commit 098d80d
Showing
5 changed files
with
10 additions
and
20 deletions.
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 |
---|---|---|
|
@@ -8,7 +8,6 @@ sudo: required | |
dist: trusty | ||
services: | ||
- docker | ||
# language: rust | ||
|
||
env: | ||
global: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,14 @@ | ||
syntax_version: "4" | ||
project_name: golang-vscode | ||
|
||
# Make command `docker run --rm -it -w /root -e DISPLAY=$ip:0 ctaggart/golang-vscode` | ||
# work with Nut: | ||
based_on: | ||
docker_image: ctaggart/golang-vscode | ||
enable_gui: true | ||
# container_working_directory: /root | ||
# Command does not mount any folder. But here is how you would do it: | ||
# mount: | ||
# main: | ||
# - . | ||
# - /root | ||
mount: | ||
main: | ||
- . | ||
- /home/vscode/golang-vscode | ||
macros: | ||
run: | ||
usage: run golang-vscode image | ||
code: | ||
usage: start vscode to edit this project | ||
actions: | ||
- su vscode -c "code -w /home/vscode" # code returns immediately. Add -w flag to make it block until the window closes. | ||
- su vscode -c "code -w /home/vscode/golang-vscode" |
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