Skip to content
This repository has been archived by the owner on Feb 25, 2021. It is now read-only.

Add build stage to dockerfile #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion falco-sns/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
FROM golang:1.10-alpine3.8 as build
RUN apk add --no-cache make git
ADD . .
RUN make deps && make build


FROM alpine:latest
MAINTAINER Néstor Salceda<[email protected]>

RUN apk add --no-cache ca-certificates

COPY ./falco-sns /bin/
COPY --from=build /go/falco-sns /bin/

CMD ["/bin/falco-sns"]