-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
18 lines (14 loc) · 785 Bytes
/
Dockerfile
File metadata and controls
18 lines (14 loc) · 785 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# NOTE: This Dockerfile depends on you building the github-backup binary first.
# It will then package that binary into the image, and use that as the entrypoint.
# This means that running `docker build` is not a repeatable way to build the same
# image, but the benefit is much faster cross-platform builds; a net win.
FROM ubuntu:24.04
LABEL org.opencontainers.image.source=https://github.com/SierraSoftworks/github-backup
LABEL org.opencontainers.image.description="Backup your GitHub repositories and releases automatically"
LABEL org.opencontainers.image.licenses=MIT
RUN apt-get update && \
apt-get install -y openssl && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
ADD ./github-backup /usr/local/bin/github-backup
ENTRYPOINT ["/usr/local/bin/github-backup"]