jq-cookbook-site-builder (latest)

Published 2024-01-29 10:55:58 -05:00 by dorian

Installation

docker pull code.birch-tree.net/dorian/jq-cookbook-site-builder:latest
sha256:e5ef1d09e4bdf7b322b4a3ca4bf22bc071a087de0f49dfc2b78c59991c0d4264

Image Layers

ADD file:917750a82b29f8f7f88a121017bd9dfeb0fbcc8f0697a009f08b6b58246eff4b in /
CMD ["bash"]
/bin/sh -c set -eux; apt-get update; apt-get install -y --no-install-recommends ca-certificates curl netbase wget ; rm -rf /var/lib/apt/lists/*
/bin/sh -c set -ex; if ! command -v gpg > /dev/null; then apt-get update; apt-get install -y --no-install-recommends gnupg dirmngr ; rm -rf /var/lib/apt/lists/*; fi
/bin/sh -c apt-get update && apt-get install -y --no-install-recommends git mercurial openssh-client subversion procps && rm -rf /var/lib/apt/lists/*
/bin/sh -c set -ex; apt-get update; apt-get install -y --no-install-recommends autoconf automake bzip2 dpkg-dev file g++ gcc imagemagick libbz2-dev libc6-dev libcurl4-openssl-dev libdb-dev libevent-dev libffi-dev libgdbm-dev libglib2.0-dev libgmp-dev libjpeg-dev libkrb5-dev liblzma-dev libmagickcore-dev libmagickwand-dev libmaxminddb-dev libncurses5-dev libncursesw5-dev libpng-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libtool libwebp-dev libxml2-dev libxslt-dev libyaml-dev make patch unzip xz-utils zlib1g-dev $( if apt-cache show 'default-libmysqlclient-dev' 2>/dev/null | grep -q '^Version:'; then echo 'default-libmysqlclient-dev'; else echo 'libmysqlclient-dev'; fi ) ; rm -rf /var/lib/apt/lists/*
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.66.1
/bin/sh -c set -eux; dpkgArch="$(dpkg --print-architecture)"; case "${dpkgArch##*-}" in amd64) rustArch='x86_64-unknown-linux-gnu'; rustupSha256='5cc9ffd1026e82e7fb2eec2121ad71f4b0f044e88bca39207b3f6b769aaa799c' ;; armhf) rustArch='armv7-unknown-linux-gnueabihf'; rustupSha256='48c5ecfd1409da93164af20cf4ac2c6f00688b15eb6ba65047f654060c844d85' ;; arm64) rustArch='aarch64-unknown-linux-gnu'; rustupSha256='e189948e396d47254103a49c987e7fb0e5dd8e34b200aa4481ecc4b8e41fb929' ;; i386) rustArch='i686-unknown-linux-gnu'; rustupSha256='0e0be29c560ad958ba52fcf06b3ea04435cb3cd674fbe11ce7d954093b9504fd' ;; *) echo >&2 "unsupported architecture: ${dpkgArch}"; exit 1 ;; esac; url="https://static.rust-lang.org/rustup/archive/1.25.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;
ENV APP_NAME=jq-cookbook-site
ENV APP_HOME=/srv/jq-cookbook-site
/bin/sh -c apt update && apt install -y libpq-dev
/bin/sh -c cargo install diesel_cli --no-default-features --features postgres
/bin/sh -c mkdir -p ${APP_HOME}
WORKDIR /srv/jq-cookbook-site
/bin/sh -c USER=root cargo init --bin .
COPY multi:de717418c22320a93ab098b252fac74cde82154148cd68e9da38db5704220533 in ./
/bin/sh -c cargo build && cargo build --tests && cargo build --release && rm src/*.rs
COPY multi:4fc47bf76af8a8d8eeb1a17a2b167895b1b78247b8c181803f8debfd923fd210 in ./
COPY dir:e4e378e66c746ac540cc1e7747c5bcdaa7d92afc31fdde6b838f59f2f35b0014 in ./migrations/
COPY dir:5a3615f707fac6e9ec91a70536024562c9521e1a590062ae52fce64a90e4c4b7 in ./src/
COPY dir:a941d977d514f68f3fb235898f730eb8765dfd44d246ab43ca32095682a9b599 in ./templates/
COPY dir:3a070eecbcdf7aa256b2be663841b4f1bd1c0ad88201478df462784980c4b7b5 in ./test/
ARG GIT_REVISION=unknown
|1 GIT_REVISION=unknown /bin/sh -c cargo build --release
LABEL org.opencontainers.image.created=2024-01-29T15:55:13Z
LABEL org.opencontainers.image.revision=d776019e7cf09a8626ed84ef95382e9f584406d2
LABEL org.opencontainers.image.source=https://code.birch-tree.net/dorian/ebooks.git
LABEL org.opencontainers.image.url=https://code.birch-tree.net/dorian/ebooks

Labels

Key Value
org.opencontainers.image.created 2024-01-29T15:55:13Z
org.opencontainers.image.revision d776019e7cf09a8626ed84ef95382e9f584406d2
org.opencontainers.image.source https://code.birch-tree.net/dorian/ebooks.git
org.opencontainers.image.url https://code.birch-tree.net/dorian/ebooks
Details
Container
2024-01-29 10:55:58 -05:00
6
OCI / Docker
linux/amd64
1.2 GiB
Versions (1) View all
latest 2024-01-29