diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 919d3fea60..00d83f7d5b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -3,7 +3,9 @@ stages: - build clippy: - image: paritytech/ci-linux:production + # Corresponds to paritytech/ci-linux:production at the time of this PR + # https://hub.docker.com/layers/ci-linux/paritytech/ci-linux/production/images/sha256-c75cee0971ca54e57a875fac8714eea2db754e621841cde702478783fc28ab90?context=explore + image: paritytech/ci-linux@sha256:c75cee0971ca54e57a875fac8714eea2db754e621841cde702478783fc28ab90 stage: test timeout: 1 hours script: @@ -11,7 +13,9 @@ clippy: - cargo +nightly clippy --all-features --all-targets --locked -- -D warnings fmt: - image: paritytech/ci-linux:production + # Corresponds to paritytech/ci-linux:production at the time of this PR + # https://hub.docker.com/layers/ci-linux/paritytech/ci-linux/production/images/sha256-c75cee0971ca54e57a875fac8714eea2db754e621841cde702478783fc28ab90?context=explore + image: paritytech/ci-linux@sha256:c75cee0971ca54e57a875fac8714eea2db754e621841cde702478783fc28ab90 stage: test timeout: 1 hours script: @@ -19,14 +23,18 @@ fmt: - cargo +nightly fmt -- --check test: - image: paritytech/ci-linux:production + # Corresponds to paritytech/ci-linux:production at the time of this PR + # https://hub.docker.com/layers/ci-linux/paritytech/ci-linux/production/images/sha256-c75cee0971ca54e57a875fac8714eea2db754e621841cde702478783fc28ab90?context=explore + image: paritytech/ci-linux@sha256:c75cee0971ca54e57a875fac8714eea2db754e621841cde702478783fc28ab90 stage: test timeout: 1 hours script: - cargo test --all --all-targets --locked test-features: - image: paritytech/ci-linux:production + # Corresponds to paritytech/ci-linux:production at the time of this PR + # https://hub.docker.com/layers/ci-linux/paritytech/ci-linux/production/images/sha256-c75cee0971ca54e57a875fac8714eea2db754e621841cde702478783fc28ab90?context=explore + image: paritytech/ci-linux@sha256:c75cee0971ca54e57a875fac8714eea2db754e621841cde702478783fc28ab90 stage: test timeout: 1 hours script: diff --git a/Dockerfile b/Dockerfile index a0af29442a..ed2b498108 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ # this container builds the kilt-parachain binary from source files and the runtime library # pinned the version to avoid build cache invalidation -# eb1f6a26-20220518 -> rust version rustc 1.62.0-nightly (cb96cc30c0ca 2022-05-05) -FROM paritytech/ci-linux:eb1f6a26-20220518 as builder +# Corresponds to paritytech/ci-linux:production at the time of this PR +# https://hub.docker.com/layers/ci-linux/paritytech/ci-linux/production/images/sha256-c75cee0971ca54e57a875fac8714eea2db754e621841cde702478783fc28ab90?context=explore +FROM paritytech/ci-linux@sha256:c75cee0971ca54e57a875fac8714eea2db754e621841cde702478783fc28ab90 as builder WORKDIR /build