fixed entrypoint and using tumbleweed version instead of restic verson as tag
This commit is contained in:
11
Dockerfile
11
Dockerfile
@@ -1,10 +1,13 @@
|
||||
FROM registry.opensuse.org/opensuse/tumbleweed:latest
|
||||
|
||||
ARG VERSION
|
||||
FROM registry.opensuse.org/opensuse/tumbleweed:${VERSION}
|
||||
|
||||
|
||||
RUN zypper --non-interactive install \
|
||||
openssh-clients \
|
||||
restic-${VERSION} \
|
||||
restic \
|
||||
&& zypper clean -a
|
||||
ADD entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
|
||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
RUN chmod +x /usr/local/bin/entrypoint.sh
|
||||
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
|
||||
CMD ["start"]
|
||||
|
Reference in New Issue
Block a user