-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Dockerfile and update playground
- Loading branch information
1 parent
b11e939
commit 0927caf
Showing
9 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.idea | ||
bin |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM golang:1.14-buster as builder | ||
|
||
WORKDIR /sftp-exporter | ||
COPY ./ ./ | ||
RUN make build | ||
|
||
FROM debian:buster | ||
|
||
WORKDIR /sftp-exporter | ||
COPY --from=builder /sftp-exporter/bin/sftp-exporter . | ||
COPY --from=builder /sftp-exporter/sftp-exporter.yaml . | ||
ENTRYPOINT ["./sftp-exporter"] |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.