restic/Dockerfile

14 lines
312 B
Docker
Raw Normal View History

2023-04-12 14:47:01 +00:00
ARG VERSION
FROM registry.opensuse.org/opensuse/tumbleweed:${VERSION}
2023-04-12 14:47:01 +00:00
RUN zypper --non-interactive install \
openssh-clients \
restic \
2023-04-12 14:47:01 +00:00
&& zypper clean -a
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
RUN chmod +x /usr/local/bin/entrypoint.sh
2023-04-12 14:47:01 +00:00
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
CMD ["start"]