ADD file:a2648378045615c3785c752423b1afc8dc1c2b213393344f4d0ca17e7255c1cb in / |
CMD ["/bin/sh"] |
/bin/sh -c apk add --no-cache ca-certificates gcc |
ENV RUSTUP_HOME=/usr/local/rustup CARGO_HOME=/usr/local/cargo PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin RUST_VERSION=1.62.1 |
/bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in x86_64) rustArch='x86_64-unknown-linux-musl'; rustupSha256='bdf022eb7cba403d0285bb62cbc47211f610caec24589a72af70e1e900663be9' ;; aarch64) rustArch='aarch64-unknown-linux-musl'; rustupSha256='89ce657fe41e83186f5a6cdca4e0fd40edab4fd41b0f9161ac6241d49fbdbbbe' ;; *) echo >&2 "unsupported architecture: $apkArch"; exit 1 ;; esac; url="https://static.rust-lang.org/rustup/archive/1.24.3/${rustArch}/rustup-init"; wget "$url"; echo "${rustupSha256} *rustup-init" | sha256sum -c -; chmod +x rustup-init; ./rustup-init -y --no-modify-path --profile minimal --default-toolchain $RUST_VERSION --default-host ${rustArch}; rm rustup-init; chmod -R a+w $RUSTUP_HOME $CARGO_HOME; rustup --version; cargo --version; rustc --version; |
COPY file:a80a245fe4e1465abd6b758ccc99ec10d1421c0f4c8738a259ad0db7c69bf625 in /bin/plugin.sh |
/bin/sh -c apk add --no-cache npm musl-dev openssl openssl-dev perl zlib make tzdata && cargo install wasm-pack && rustup target add wasm32-unknown-unknown && chmod +x /bin/plugin.sh |
ENV TZ=UTC |
ENTRYPOINT ["/bin/sh" "/bin/plugin.sh"] |
LABEL org.opencontainers.image.created=2022-08-09T09:44:02Z |
LABEL org.opencontainers.image.revision=962ca08f1b6e186be1e336ef1c0463c63e5cc34c |
LABEL org.opencontainers.image.source=https://git.koval.net/cyclane/game-algorithms.git |
LABEL org.opencontainers.image.url=https://git.koval.net/cyclane/game-algorithms |