FROM ubuntu:22.04 RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --force-yes -y \ bc \ iputils-ping \ iproute2 \ openssl \ bzip2 \ udisks2 \ coreutils \ zstd \ wget \ unzip \ zip \ git \ curl \ simg2img \ file \ openssh-client \ ca-certificates \ abootimg \ cpio \ && apt-get clean all # custom tools COPY tools/upload.sh /usr/bin COPY tools/upload /usr/bin RUN mkdir -p /root/.ssh && chmod 0700 /root/.ssh RUN ls -l /root/.ssh COPY Docker/id_rsa /root/.ssh RUN chown root:root -R /root/.ssh COPY Docker/start.sh /start.sh ENTRYPOINT ["/start.sh"]