Skip to content

Instantly share code, notes, and snippets.

View Cibernomadas's full-sized avatar

Cibernómadas Cibernomadas

View GitHub Profile
docker run --rm -e GOOS=linux -e GOARCH=arm -e CGO_ENABLED=0 -v $(pwd):/go/src/github.com/drone-plugins/drone-git -it resin/raspberrypi3-alpine-golang ash
FROM armhf/alpine:3.4
FROM plugins/base:arm
version: '3'
services:
drone-server:
image: cibernomadas/drone-server
restart: always
ports:
- 8000:8000
- 9000
volumes:
FROM resin/raspberrypi3-alpine-golang
RUN apk add -U --no-cache ca-certificates
RUN go get -u github.com/drone/drone-ui/dist && \
go get -u golang.org/x/net/context && \
go get -u golang.org/x/net/context/ctxhttp && \
go get -u github.com/golang/protobuf/proto && \
go get -u github.com/golang/protobuf/protoc-gen-go && \
go get github.com/drone/drone/cmd/... && \
FROM resin/raspberrypi3-alpine-golang
RUN apk add -U --no-cache ca-certificates
RUN go get -u github.com/drone/drone-ui/dist && \
go get -u golang.org/x/net/context && \
go get -u golang.org/x/net/context/ctxhttp && \
go get -u github.com/golang/protobuf/proto && \
go get -u github.com/golang/protobuf/protoc-gen-go && \
go get github.com/drone/drone/cmd/... && \
FROM resin/raspberrypi3-alpine:3.7
FROM alpine:3.7
FROM resin/raspberrypi3-alpine-golang AS build-env
FROM golang:1.10-alpine3.7 AS build-env