Skip to content

Commit 732b348

Browse files
committed
add Dockerfile
1 parent eaba2b4 commit 732b348

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
FROM golang:1.6.2-alpine
2+
MAINTAINER Can Yucel "can.yucel@gmail.com"
3+
4+
RUN apk --update upgrade && \
5+
apk add curl ca-certificates && \
6+
update-ca-certificates && \
7+
rm -rf /var/cache/apk/*
8+
9+
ENV WATCHER_VERSION 0.2.1
10+
11+
ADD https://github.com/canthefason/go-watcher/releases/download/v${WATCHER_VERSION}/watcher-${WATCHER_VERSION}-linux-amd64 /go/bin/watcher
12+
13+
RUN chmod +x /go/bin/watcher
14+
15+
CMD ["watcher"]

0 commit comments

Comments
 (0)