Skip to content

Instantly share code, notes, and snippets.

Avatar

Cibernómadas Cibernomadas

View GitHub Profile
View shell
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
View docker-compose.yml
version: '3'
services:
drone-server:
image: cibernomadas/drone-server
restart: always
ports:
- 8000:8000
- 9000
volumes:
View Dockerfile.agent
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/... && \
View Dockerfile.server
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/... && \
View Dockerfile
FROM resin/raspberrypi3-alpine:3.7
View Dockerfile
FROM resin/raspberrypi3-alpine-golang AS build-env
View Dockerfile
FROM golang:1.10-alpine3.7 AS build-env