snok-homepage (latest)
Published 2024-09-11 10:37:34 +02:00 by oskar
Installation
docker pull gitea.takeflight.no/oskar/snok-homepage:latest
sha256:f79a8299e98ea33d34b78fdde65e1f30489f6912c265265e8778f4cfa65d70ed
About this package
The official Docker images for Rust
Image Layers
ADD file:5758b97d8301c84a204a6e516241275d785a7cade40b2fb99f01fe122482e283 in / |
CMD ["/bin/sh"] |
LABEL org.opencontainers.image.source=https://github.com/rust-lang/docker-rust |
RUN /bin/sh -c apk add --no-cache ca-certificates gcc # buildkit |
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=nightly |
RUN /bin/sh -c set -eux; apkArch="$(apk --print-arch)"; case "$apkArch" in x86_64) rustArch='x86_64-unknown-linux-musl'; rustupSha256='1455d1df3825c5f24ba06d9dd1c7052908272a2cae9aa749ea49d67acbe22b47' ;; aarch64) rustArch='aarch64-unknown-linux-musl'; rustupSha256='7087ada906cd27a00c8e0323401a46804a03a742bd07811da6dead016617cc64' ;; *) echo >&2 "unsupported architecture: $apkArch"; exit 1 ;; esac; url="https://static.rust-lang.org/rustup/archive/1.27.1/${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; # buildkit |
WORKDIR /app |
COPY file:23f85892bec53c008ab120dab201de9786fddfcd1f8b7cf1fb39ebefb2da3046 in /app/ |
COPY dir:b4e334eb0b0ed1549d8ef6fe21d854eb5e7b66f127e1854266a341e8b18df10c in /app/site |
COPY file:4e92f75ca96b6bc3ab386e70a6cab726e747f7a452e17caf4edb05435a4b55ea in /app/ |
ENV LEPTOS_SITE_ROOT=./site |
ENV LEPTOS_SITE_ADDR=0.0.0.0:3000 |
CMD ["/app/snok-homepage"] |
Labels
Key | Value |
---|---|
org.opencontainers.image.created | 2024-09-11T00:13:48.934Z |
org.opencontainers.image.description | The official Docker images for Rust |
org.opencontainers.image.licenses | |
org.opencontainers.image.revision | 9f287282d513a84cb7c7f38f197838f15d37b6a9 |
org.opencontainers.image.source | https://github.com/rust-lang/docker-rust |
org.opencontainers.image.title | docker-rust |
org.opencontainers.image.url | https://github.com/rust-lang/docker-rust |
org.opencontainers.image.version | nightly-alpine3.20 |