Skip to content
This repository was archived by the owner on Nov 4, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion dockerfiles/base-ci-linux/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ ARG VCS_REF=master
ARG BUILD_DATE=""
ARG REGISTRY_PATH=docker.io/paritytech

# those can be removed once jq is available through the distribution
ARG JQ_CHECKSUM=af986793a515d500ab2d35f8d2aecd656e764504b789b66d7e1a0b727a124c44
ARG JQ_PATH=/bin/jq

# metadata
LABEL summary="Layer 1 image with all dependencies for Rust and WASM compilation." \
name="${REGISTRY_PATH}/base-ci-linux" \
Expand Down Expand Up @@ -35,7 +39,13 @@ RUN set -eux; \
apt-get -y update; \
apt-get install -y --no-install-recommends \
libssl-dev clang lld libclang-dev make cmake \
git pkg-config curl time rhash ca-certificates jq; \
git pkg-config curl time rhash ca-certificates; \
# install recent jq; this step can be removed once jq >= 1.6 is available
# through the distribution
curl -sqL https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 -o "$JQ_PATH" && \
chmod +x "$JQ_PATH" && \
echo "$JQ_CHECKSUM $JQ_PATH" | sha256sum --check && \
jq --version; \
# set a link to clang
update-alternatives --install /usr/bin/cc cc /usr/bin/clang 100; \
# install rustup, use minimum components
Expand Down