increase complexity?
This commit is contained in:
parent
adb770a6ca
commit
77d7f262ce
12
.drone.yml
12
.drone.yml
@ -12,10 +12,10 @@ pipeline:
|
|||||||
commands:
|
commands:
|
||||||
- go get
|
- go get
|
||||||
- go build
|
- go build
|
||||||
|
docker:
|
||||||
|
image: docker:latest
|
||||||
|
commands:
|
||||||
|
- docker build -t deadbeef.codes:5000/mandelmapper:latest .
|
||||||
|
- docker push deadbeef.codes:5000/mandelmapper:latest
|
||||||
|
|
||||||
|
|
||||||
publish:
|
|
||||||
image: plugins/docker
|
|
||||||
repo: deadbeef.codes:5001/steven/mandelmap
|
|
||||||
registry: deadbeef.codes:5001
|
|
||||||
# auto_tag: true
|
|
||||||
# auto_tag_suffix: linux-rpi3
|
|
@ -1,4 +1,8 @@
|
|||||||
|
FROM golang:latest
|
||||||
|
WORKDIR /go/src/deadbeef.codes/steven/mandelmapper
|
||||||
|
RUN GOOS=linux GOARCH=arm GOARM=7 go build
|
||||||
|
|
||||||
FROM resin/raspberrypi3-alpine
|
FROM resin/raspberrypi3-alpine
|
||||||
COPY mandelmapper /usr/bin
|
COPY --from=0 mandelmapper /usr/bin
|
||||||
EXPOSE 6161:6161
|
EXPOSE 6161:6161
|
||||||
CMD mandelmapper
|
CMD mandelmapper
|
||||||
|
Loading…
Reference in New Issue
Block a user