# debian.sh --arch 'amd64' out/ 'bookworm' '@1738540800' |
RUN /bin/sh -c mkdir /work /src /app # buildkit |
WORKDIR /work |
RUN /bin/sh -c apt update -y # buildkit |
RUN /bin/sh -c apt install -y wget build-essential libssl-dev pkg-config # buildkit |
RUN /bin/sh -c wget https://sh.rustup.rs -O /tmp/rust.sh # buildkit |
RUN /bin/sh -c chmod +x /tmp/rust.sh # buildkit |
RUN /bin/sh -c /tmp/rust.sh -y # buildkit |
ENV PROJ_NAME=example |
COPY docker/build/build.sh /bin/build.sh # buildkit |
RUN /bin/sh -c chmod +x /bin/build.sh # buildkit |
CMD ["bash" "/bin/build.sh"] |