Files
duplicati/ReleaseBuilder/Resources/Docker/Dockerfile
T
Kenneth Skovhede ecd22ac264 Added support for building agent packages.
Still lacking support for Windows MSI + MacOS pkg as they are currently tied to the TrayIcon being the base.
2024-09-18 15:29:52 +02:00

24 lines
484 B
Docker

FROM debian:latest
RUN apt update && apt install tini
ENTRYPOINT [ "/usr/bin/tini", "--" ]
RUN apt update -y && apt install -y libssl3 ca-certificates gnupg libicu72
ENV XDG_CONFIG_HOME=/data
VOLUME /data
ARG CHANNEL=
ARG VERSION=
ENV DUPLICATI_CHANNEL=${CHANNEL}
ENV DUPLICATI_VERSION=${VERSION}
ENV DUPLICATI__WEBSERVICE_PORT=8200
ENV DUPLICATI__WEBSERVICE_INTERFACE=any
ARG TARGETARCH
COPY ./${TARGETARCH} /opt/duplicati
EXPOSE 8200
CMD ["/opt/duplicati/duplicati-server"]