dockerrrr

This commit is contained in:
Steven Polley 2018-07-31 23:35:18 -06:00
parent 3d0b47b1cc
commit b28ba54d4c
2 changed files with 18 additions and 1 deletions

12
.vscode/tasks.json vendored
View File

@ -4,13 +4,23 @@
"version": "2.0.0", "version": "2.0.0",
"tasks": [ "tasks": [
{ {
"label": "go build", "label": "Local Build",
"type": "shell", "type": "shell",
"command": "cd mandelmapper ; go build", "command": "cd mandelmapper ; go build",
"group": { "group": {
"kind": "build", "kind": "build",
"isDefault": true "isDefault": true
} }
},
{
"label": "Raspberry Pi 3 Build",
"type": "shell",
"command": "cd mandelmapper ; export GOOS=linux ; export GOARCH=arm ; export GOARM=7 ; go build",
"group": {
"kind": "build",
"isDefault": true
},
"problemMatcher": []
} }
] ]
} }

7
mandelmapper/dockerfile Normal file
View File

@ -0,0 +1,7 @@
FROM resin/raspberrypi3-alpine
COPY mandelmapper /usr/bin
EXPOSE 6161:6161
CMD mandelmapper