-
Notifications
You must be signed in to change notification settings - Fork 152
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
18 additions
and
21 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 |
---|---|---|
|
@@ -4,5 +4,4 @@ | |
/.go | ||
/.push-* | ||
/.vendor | ||
/bin | ||
/vendor | ||
/dist |
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
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,6 @@ | ||
FROM alpine:3.10 | ||
MAINTAINER Tom Manville<tom@kasten.io> | ||
RUN apk -v --update add --no-cache ca-certificates && \ | ||
rm -f /var/cache/apk/* | ||
ADD controller /controller | ||
ENTRYPOINT ["/controller"] |
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
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 |
---|---|---|
@@ -1,20 +1,10 @@ | ||
FROM busybox:glibc as restbox | ||
|
||
# Get restic executable | ||
ENV RESTIC_VERSION=0.9.5 | ||
ENV RESTIC_SHA=08cd75e56a67161e9b16885816f04b2bf1fb5b03bc0677b0ccf3812781c1a2ec | ||
ADD https://github.com/restic/restic/releases/download/v${RESTIC_VERSION}/restic_${RESTIC_VERSION}_linux_amd64.bz2 / | ||
RUN echo "${RESTIC_SHA} restic_${RESTIC_VERSION}_linux_amd64.bz2" | sha256sum -c \ | ||
&& bzip2 -d restic_${RESTIC_VERSION}_linux_amd64.bz2 && mv restic_${RESTIC_VERSION}_linux_amd64 /bin/restic && chmod +x /bin/restic | ||
|
||
FROM alpine:3.7 | ||
FROM alpine:3.10 | ||
MAINTAINER Tom Manville <tom@kasten.io> | ||
|
||
COPY --from=restbox /bin/restic /bin/restic | ||
|
||
RUN apk -v --update add --no-cache bash curl groff less mailcap ca-certificates && \ | ||
rm -f /var/cache/apk/* | ||
|
||
COPY --from=restic/restic:0.9.5 /usr/bin/restic /usr/local/bin/restic | ||
ADD kando /usr/local/bin/ | ||
|
||
CMD [ "/usr/bin/tail", "-f", "/dev/null" ] |
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