Skip to content

Commit

Permalink
Fix multistage build
Browse files Browse the repository at this point in the history
  • Loading branch information
brandond committed Aug 28, 2019
1 parent 9a1d7a5 commit e8251b2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:alpine AS builder
WORKDIR /go/src/github.com/brandond/syslog_ng_exporter
COPY *.go Makefile vendor /go/src/github.com/brandond/syslog_ng_exporter/
RUN apk --no-cache add curl git make
RUN apk --no-cache add alpine-sdk
COPY ./ /go/src/github.com/brandond/syslog_ng_exporter/
WORKDIR /go/src/github.com/brandond/syslog_ng_exporter/
RUN make

FROM quay.io/prometheus/busybox:latest
Expand Down
1 change: 0 additions & 1 deletion VERSION

This file was deleted.

0 comments on commit e8251b2

Please sign in to comment.