https-jrtorres042-github-com
/
git_microsoft-powershell_achived-credential_agreements-mirror-blank_codes-backup-diff-1
Public template
forked from jrtorres042/git_microsoft-powershell_achived-credential_mobile--blog_encoding-backup_ruby_diff-1
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
22 lines (18 loc) · 582 Bytes
/
Dockerfile
File metadata and controls
22 lines (18 loc) · 582 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
FROM debian:stretch-slim
RUN apt-get -q -y update && \
apt-get install -y --no-install-recommends \
tar \
rsync \
ca-certificates \
ssh \
git \
moreutils \
gawk \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /backup-utils
ADD https://github.com/github/backup-utils/archive/stable.tar.gz /
RUN tar xzvf /stable.tar.gz --strip-components=1 -C /backup-utils && \
rm -r /stable.tar.gz
RUN chmod +x /backup-utils/share/github-backup-utils/ghe-docker-init
ENTRYPOINT ["/backup-utils/share/github-backup-utils/ghe-docker-init"]
CMD ["ghe-host-check"]