mirror of
https://github.com/bloomberg/goldpinger.git
synced 2026-08-23 21:36:25 +00:00
Merge pull request #35 from akhy/dockerfile-fix
fix Dockerfile to build from current workspace
This commit is contained in:
@@ -0,0 +1,2 @@
|
||||
.git/
|
||||
/vendor/
|
||||
+3
-5
@@ -5,17 +5,15 @@ FROM golang:1.11-alpine as builder
|
||||
RUN apk add --update git make bash
|
||||
RUN go get -u github.com/golang/dep/cmd/dep
|
||||
|
||||
# Get sources
|
||||
# Get dependencies
|
||||
|
||||
RUN go get github.com/bloomberg/goldpinger/cmd/goldpinger
|
||||
WORKDIR /go/src/github.com/bloomberg/goldpinger
|
||||
|
||||
# Install our dependencies
|
||||
|
||||
COPY Gopkg.toml Gopkg.lock Makefile ./
|
||||
RUN make vendor
|
||||
|
||||
# Build goldpinger
|
||||
|
||||
COPY . ./
|
||||
RUN make bin/goldpinger
|
||||
|
||||
# Build the asset container, copy over goldpinger
|
||||
|
||||
Reference in New Issue
Block a user