dockerrrr
This commit is contained in:
parent
3d0b47b1cc
commit
b28ba54d4c
12
.vscode/tasks.json
vendored
12
.vscode/tasks.json
vendored
@ -4,13 +4,23 @@
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "go build",
|
||||
"label": "Local Build",
|
||||
"type": "shell",
|
||||
"command": "cd mandelmapper ; go build",
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"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
7
mandelmapper/dockerfile
Normal file
@ -0,0 +1,7 @@
|
||||
FROM resin/raspberrypi3-alpine
|
||||
COPY mandelmapper /usr/bin
|
||||
|
||||
|
||||
EXPOSE 6161:6161
|
||||
CMD mandelmapper
|
||||
|
Loading…
Reference in New Issue
Block a user