From 810bc3161c370ca80ee6f4792171ca63af159f56 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Mon, 9 Oct 2017 11:38:28 -0400 Subject: [PATCH] fix(image): added alpine version (#1) added alpine version --- .drone.yml | 18 ++++++++++++++++++ Dockerfile | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 .drone.yml diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..a4e2fc2 --- /dev/null +++ b/.drone.yml @@ -0,0 +1,18 @@ +workspace: + base: /go + path: src/github.com/skuid/dimsum +pipeline: + build: + image: golang:1.9-alpine + commands: + - go test -v $(go list ./... | grep -v vendor) + - go build -v + publish: + image: plugins/docker + secrets: [docker_username, docker_password] + registry: quay.io + repo: quay.io/skuid/dimsum + tags: + - ${DRONE_TAG} + when: + event: tag \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 3a81161..a751590 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine +FROM alpine:3.6 VOLUME /usr/src/config VOLUME /usr/src/passwords