Skip to content

Commit ad89be0

Browse files
authored
Merge pull request #473 from JordanSussman/master
add Dockerfile based on alpine
2 parents cd2c89b + d280390 commit ad89be0

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Dockerfile.alpine

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
FROM alpine:latest
2+
3+
RUN apk --update --no-cache add \
4+
tar \
5+
rsync \
6+
ca-certificates \
7+
openssh \
8+
git \
9+
bash \
10+
gawk \
11+
procps
12+
13+
WORKDIR /backup-utils
14+
ADD https://github.com/github/backup-utils/archive/stable.tar.gz /
15+
RUN tar xzvf /stable.tar.gz --strip-components=1 -C /backup-utils && \
16+
mv /usr/bin/gawk /usr/bin/awk && \
17+
rm -r /stable.tar.gz
18+
19+
RUN chmod +x /backup-utils/share/github-backup-utils/ghe-docker-init
20+
21+
ENTRYPOINT ["/backup-utils/share/github-backup-utils/ghe-docker-init"]
22+
CMD ["ghe-host-check"]

0 commit comments

Comments
 (0)