Compile execute inside Docker context
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2019-08-07 00:29:03 +02:00
parent 7fe5d7a60f
commit caf9ecc6ad
Signed by: peter
GPG Key ID: 374322D56E5209E8
2 changed files with 2 additions and 3 deletions

View File

@ -16,8 +16,7 @@ steps:
commands:
- apk --no-cache add git
- go get -d -t ./...
- go build ./...
- go install ./...
- go build p83.nl/go/ekster/cmd/eksterd
- go test ./...
- name: publish-personal

View File

@ -2,6 +2,6 @@ FROM alpine:3.7
RUN apk --no-cache add ca-certificates
WORKDIR /opt/micropub
EXPOSE 80
COPY ./bin/eksterd /app/
COPY ./eksterd /app/
COPY ./templates /app/templates
ENTRYPOINT ["/app/eksterd"]