mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 17:01:09 +00:00
[docs] Update ci image in container.md (#3799)
cc https://github.com/paritytech/ci_cd/issues/943
This commit is contained in:
committed by
GitHub
parent
463ccb8f90
commit
e88d1cb793
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user