ARG RELEASE |
ARG LAUNCHPAD_BUILD_ARCH |
LABEL org.opencontainers.image.ref.name=ubuntu |
LABEL org.opencontainers.image.version=22.04 |
ADD file:1b6c8c9518be42fa2afe5e241ca31677fce58d27cdfa88baa91a65a259be3637 in / |
CMD ["/bin/bash"] |
ARG DEBIAN_FRONTEND=noninteractive |
ARG TZ=Etc/UTC |
RUN |2 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC /bin/sh -c apt-get update # buildkit |
RUN |2 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC /bin/sh -c apt-get install -y software-properties-common # buildkit |
RUN |2 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC /bin/sh -c add-apt-repository ppa:deadsnakes/ppa # buildkit |
RUN |2 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC /bin/sh -c apt-get update # buildkit |
RUN |2 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC /bin/sh -c apt-get install -y appstream curl file fuse gnupg2 python3.12 python3.12-venv zsync # buildkit |
RUN |2 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC /bin/sh -c apt-get install -y libx11-6 libx11-xcb1 libxau6 libxcb-cursor0 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-icccm4 libxcb-image0 libxcb-keysyms1 libxcb-present0 libxcb-randr0 libxcb-render-util0 libxcb-render0 libxcb-res0 libxcb-shape0 libxcb-shm0 libxcb-sync1 libxcb-util1 libxcb-xfixes0 libxcb-xinerama0 libxcb-xinput0 libxcb-xkb1 libxcb-xv0 libxcb1 libxdmcp6 libxext6 # buildkit |
RUN |2 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC /bin/sh -c curl -L 'https://github.com/AppImage/appimagetool/releases/download/continuous/appimagetool-x86_64.AppImage' -o '/usr/bin/appimagetool' # buildkit |
RUN |2 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC /bin/sh -c chmod +x '/usr/bin/appimagetool' # buildkit |
RUN |2 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC /bin/sh -c curl -L 'https://github.com/AppImageCommunity/zsync2/releases/download/2.0.0-alpha-1-20230304/zsync2-63-1608115-x86_64.AppImage' -o '/usr/bin/zsync2' # buildkit |
RUN |2 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC /bin/sh -c chmod +x '/usr/bin/zsync2' # buildkit |
RUN |2 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC /bin/sh -c python3.12 -m venv /venv # buildkit |
RUN |2 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC /bin/sh -c bash -c 'source /venv/bin/activate && pip install --upgrade pip' # buildkit |
COPY build.sh /usr/bin/build # buildkit |
RUN |2 DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC /bin/sh -c chmod +x '/usr/bin/build' # buildkit |
ENTRYPOINT ["build"] |