2022-08-04 19:41:27 +03:00
|
|
|
FROM debian:buster-slim
|
2017-10-24 23:59:25 +03:00
|
|
|
|
|
|
|
RUN apt-get -q -y update && \
|
|
|
|
apt-get install -y --no-install-recommends \
|
|
|
|
tar \
|
|
|
|
rsync \
|
|
|
|
ca-certificates \
|
|
|
|
ssh \
|
|
|
|
git \
|
2020-04-01 00:02:33 +03:00
|
|
|
moreutils \
|
2020-04-04 04:14:11 +03:00
|
|
|
gawk \
|
2017-10-24 23:59:25 +03:00
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
2020-09-28 11:58:37 +03:00
|
|
|
COPY ./ /backup-utils/
|
2017-10-25 03:40:18 +03:00
|
|
|
WORKDIR /backup-utils
|
2017-10-24 23:59:25 +03:00
|
|
|
|
2017-10-25 03:40:18 +03:00
|
|
|
RUN chmod +x /backup-utils/share/github-backup-utils/ghe-docker-init
|
2017-10-24 23:59:25 +03:00
|
|
|
|
2017-10-25 03:40:18 +03:00
|
|
|
ENTRYPOINT ["/backup-utils/share/github-backup-utils/ghe-docker-init"]
|
2017-10-17 10:09:41 +03:00
|
|
|
CMD ["ghe-host-check"]
|