mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 18:07:58 +00:00
eeb368ed9c
* add ghw and scripts for docker image deployment * debug * add permissions for content * fix path to the bin folder * add tags * rename env * fix path to docker file * make polkadot-parachain executable * fix typo * fix more typos * test * revert back use of working directory * mke bin executable in the artifacts folder * use cd instead of working directory * change path to cash * fix path to cash * change cache key * delete old flows * addressed PR comments * fix path * reorg docker files
39 lines
1.0 KiB
Docker
39 lines
1.0 KiB
Docker
FROM docker.io/parity/base-bin
|
|
|
|
# metadata
|
|
ARG VCS_REF
|
|
ARG BUILD_DATE
|
|
ARG IMAGE_NAME
|
|
|
|
LABEL io.parity.image.authors="devops-team@parity.io" \
|
|
io.parity.image.vendor="Parity Technologies" \
|
|
io.parity.image.title="${IMAGE_NAME}" \
|
|
io.parity.image.description="Cumulus, the Polkadot collator." \
|
|
io.parity.image.source="https://github.com/paritytech/polkadot-sdk/blob/${VCS_REF}/docker/dockerfiles/polkadot-parachain/polkadot-parachain_injected.Dockerfile" \
|
|
io.parity.image.revision="${VCS_REF}" \
|
|
io.parity.image.created="${BUILD_DATE}" \
|
|
io.parity.image.documentation="https://github.com/paritytech/polkadot-sdk/"
|
|
|
|
# show backtraces
|
|
ENV RUST_BACKTRACE 1
|
|
|
|
USER root
|
|
|
|
RUN mkdir -p /specs
|
|
|
|
# add polkadot-parachain binary to the docker image
|
|
COPY bin/* /usr/local/bin/
|
|
COPY specs/* /specs/
|
|
|
|
RUN chmod -R a+rx "/usr/local/bin"
|
|
|
|
USER parity
|
|
|
|
# check if executable works in this container
|
|
RUN /usr/local/bin/polkadot-parachain --version
|
|
|
|
EXPOSE 30333 9933 9944 9615
|
|
VOLUME ["/polkadot", "/specs"]
|
|
|
|
ENTRYPOINT ["/usr/local/bin/polkadot-parachain"]
|