Skip to content
Snippets Groups Projects
Unverified Commit e88d1cb7 authored by Alexander Samusev's avatar Alexander Samusev Committed by GitHub
Browse files

[docs] Update ci image in container.md (#3799)

cc https://github.com/paritytech/ci_cd/issues/943
parent 463ccb8f
No related merge requests found
Pipeline #458777 failed with stages
in 1 hour, 16 minutes, and 15 seconds
......@@ -16,7 +16,7 @@ Parity builds and publishes a container image that can be found as `docker.io/pa
## Parity CI image
Parity maintains and uses internally a generic "CI" image that can be used as a base to build binaries: [Parity CI
container image](https://github.com/paritytech/scripts/tree/master/dockerfiles/ci-linux):
container image](https://github.com/paritytech/scripts/tree/master/dockerfiles/ci-unified):
The command below allows building a Linux binary without having to even install Rust or any dependency locally:
......@@ -24,14 +24,11 @@ The command below allows building a Linux binary without having to even install
docker run --rm -it \
-w /polkadot-sdk \
-v $(pwd):/polkadot-sdk \
paritytech/ci-linux:production \
paritytech/ci-unified:bullseye-1.75.0-2024-01-22-v20240222 \
cargo build --release --locked -p polkadot-parachain-bin --bin polkadot-parachain
sudo chown -R $(id -u):$(id -g) target/
```
If you want to reproduce other steps of CI process you can use the following
[guide](https://github.com/paritytech/scripts#gitlab-ci-for-building-docker-images).
## Injected image
Injecting a binary inside a base image is the quickest option to get a working container image. This only works if you
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment