ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:c8ef6447752cab2541ffca9e3cfa27d581f3491bc8f356f6eafd951243609341 in / |
CMD ["/bin/bash"] |
ARG TARGETARCH |
ENV DEBIAN_FRONTEND=noninteractive TERM=xterm-256color LC_ALL=C.UTF-8 KOPIA_CONFIG_PATH=/app/config/repository.config KOPIA_LOG_DIR=/app/logs KOPIA_CACHE_DIRECTORY=/app/cache RCLONE_CONFIG=/app/rclone/rclone.conf KOPIA_PERSIST_CREDENTIALS_ON_CONNECT=false KOPIA_CHECK_FOR_UPDATES=false |
RUN |1 TARGETARCH=amd64 /bin/sh -c apt-get update && apt-get upgrade -y --with-new-pkgs && apt-get install -y --no-install-recommends fuse3 ca-certificates curl && apt-get clean autoclean -y && apt-get autoremove -y && rm -rf /var/lib/apt/* /var/lib/cache/* /var/lib/log/* /var/tmp/* /usr/share/doc/ /usr/share/man/ /usr/share/locale/ /root/.cache /root/.local /root/.gnupg /root/.config /tmp/* # buildkit |
WORKDIR /app |
COPY bin-amd64/kopia /bin/kopia # buildkit |
COPY bin-amd64/rclone /bin/rclone # buildkit |
ENTRYPOINT ["/bin/kopia"] |