| ARG RELEASE |
| ARG LAUNCHPAD_BUILD_ARCH |
| LABEL org.opencontainers.image.ref.name=ubuntu |
| LABEL org.opencontainers.image.version=24.04 |
| ADD file:dafefa97de6dc66a6734ec6f05e58125ce01225cccce3f50662330c252aad518 in / |
| CMD ["/bin/bash"] |
| ENV VERSION_VELERO=1.14.0 |
| ENV VERSION_RESTIC=0.16.4 |
| ENV DEBIAN_FRONTEND=noninteractive |
| WORKDIR /tmp/ |
| RUN /bin/sh -c apt update # buildkit |
| RUN /bin/sh -c apt upgrade -y # buildkit |
| RUN /bin/sh -c apt install curl wget vim bzip2 fuse tmux less jq apt-transport-https lsb-release gnupg -y # buildkit |
| RUN /bin/sh -c curl -sL https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /etc/apt/trusted.gpg.d/microsoft.gpg # buildkit |
| RUN /bin/sh -c echo 'deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ noble main' > /etc/apt/sources.list.d/azure-cli.list # buildkit |
| RUN /bin/sh -c apt update # buildkit |
| RUN /bin/sh -c apt install -y azure-cli # buildkit |
| RUN /bin/sh -c wget https://github.com/restic/restic/releases/download/v${VERSION_RESTIC}/restic_${VERSION_RESTIC}_linux_amd64.bz2 # buildkit |
| RUN /bin/sh -c wget https://github.com/vmware-tanzu/velero/releases/download/v${VERSION_VELERO}/velero-v${VERSION_VELERO}-linux-amd64.tar.gz # buildkit |
| RUN /bin/sh -c bzip2 -d restic_${VERSION_RESTIC}_linux_amd64.bz2 # buildkit |
| RUN /bin/sh -c tar xf velero-v${VERSION_VELERO}-linux-amd64.tar.gz # buildkit |
| RUN /bin/sh -c mv velero-v${VERSION_VELERO}-linux-amd64/velero /usr/local/bin # buildkit |
| RUN /bin/sh -c mv restic_${VERSION_RESTIC}_linux_amd64 /usr/local/bin/restic # buildkit |
| RUN /bin/sh -c chmod +x /usr/local/bin/restic # buildkit |
| RUN /bin/sh -c chmod +x /usr/local/bin/velero # buildkit |
| COPY ./images/files/restic-manually/README.txt / # buildkit |
| COPY ./images/files/restic-manually/docker-entrypoint.sh / # buildkit |
| WORKDIR / |
| CMD ["/docker-entrypoint.sh"] |