FROM ubuntu:22.04 RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --force-yes -y \ bc \ jq \ python3 \ openssl \ bzip2 \ mount \ udisks2 \ coreutils \ unzip \ zip \ git \ curl \ qemu-utils \ ca-certificates \ zstd \ file \ abootimg \ libusb-1.0-0 \ libfdt-dev \ libfdt1 \ libprotobuf23 \ libprotobuf-dev \ openssh-client \ && apt-get clean all # custom tools COPY tools/upload.sh /usr/bin COPY tools/upload /usr/bin COPY tools/obsutil/obsutil /usr/bin COPY tools/amlogic_tool/* /usr/bin COPY tools/allwinner/imgrepacker /usr/bin COPY tools/android-tools/* /usr/bin COPY gitlab-runner/entrypoint /entrypoint #RUN apt install --no-install-recommends -y wine mono-complete && apt-get clean all RUN dpkg --add-architecture i386 && apt update && DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y wine32 && apt-get clean all RUN --mount=type=bind,target=/tmp/mnt,source=./gitlab-runner bash -c 'dpkg -i /tmp/mnt/gitlab-runner_amd64.deb' WORKDIR / ENTRYPOINT ["/entrypoint"]