| # debian.sh --arch 'amd64' out/ 'trixie' '@1760918400' |
| RUN /bin/sh -c apt update -y && apt install -y libssl3t64 ca-certificates libicu76 rclone gnupg tini # buildkit |
| ENTRYPOINT ["/usr/bin/tini" "--" "/run-as-user.sh"] |
| ENV XDG_CONFIG_HOME=/data |
| VOLUME [/data] |
| ARG CHANNEL=stable |
| ARG VERSION=2.2.0.0 |
| ENV DUPLICATI_CHANNEL=stable |
| ENV DUPLICATI_VERSION=2.2.0.0 |
| ENV DUPLICATI__WEBSERVICE_PORT=8200 |
| ENV DUPLICATI__WEBSERVICE_INTERFACE=any |
| ARG TARGETARCH=amd64 |
| COPY ./amd64 /opt/duplicati # buildkit |
| COPY run-as-user.sh /run-as-user.sh # buildkit |
| RUN |3 CHANNEL=stable VERSION=2.2.0.0 TARGETARCH=amd64 /bin/sh -c chmod +x /run-as-user.sh # buildkit |
| ENV PATH=/opt/duplicati:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin |
| EXPOSE [8200/tcp] |
| CMD ["duplicati-server"] |
| RUN /bin/sh -c apt update -y && apt install -y openssh-client # buildkit |