forked from ServiceNow/backup-utils
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
21 lines (17 loc) · 658 Bytes
/
Copy pathDockerfile
File metadata and controls
21 lines (17 loc) · 658 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
FROM debian:stretch-slim
RUN apt-get -q -y update && \
apt-get install -y --no-install-recommends \
tar \
rsync \
ca-certificates \
ssh \
git \
&& 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
COPY share/github-backup-utils/ghe-docker-init /backup-utils/share/github-backup-utils/ghe-docker-init
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"]