Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
polkadot-sdk
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
parity
Mirrored projects
polkadot-sdk
Commits
e88d1cb7
Unverified
Commit
e88d1cb7
authored
1 year ago
by
Alexander Samusev
Committed by
GitHub
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
[docs] Update ci image in container.md (#3799)
cc https://github.com/paritytech/ci_cd/issues/943
parent
463ccb8f
Branches
gh-readonly-queue/master/pr-3799-463ccb8f9028ebf5f7fc53d7e835c21f43172253
Branches containing commit
No related merge requests found
Pipeline
#458777
failed with stages
in 1 hour, 16 minutes, and 15 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/contributor/container.md
+2
-5
2 additions, 5 deletions
docs/contributor/container.md
with
2 additions
and
5 deletions
docs/contributor/container.md
+
2
−
5
View file @
e88d1cb7
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment