8acf59c6aa
- Update all Dockerfile references from polkadot to pezkuwi - Fix package names in scripts (pezpallet-*, pezframe-*) - Update GitHub repository URLs to pezkuwichain/pezkuwi-sdk - Fix template Dockerfiles (minimal, solochain, teyrchain) - Update service file paths and binary names - Fix path references from bizinikiwi/frame/ to bizinikiwi/pezframe/
39 lines
1.0 KiB
Docker
39 lines
1.0 KiB
Docker
FROM docker.io/paritytech/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="Pezcumulus, the Pezkuwi collator." \
|
|
io.parity.image.source="https://github.com/pezkuwichain/pezkuwi-sdk/blob/${VCS_REF}/docker/dockerfiles/pezkuwi-teyrchain/pezkuwi-teyrchain_injected.Dockerfile" \
|
|
io.parity.image.revision="${VCS_REF}" \
|
|
io.parity.image.created="${BUILD_DATE}" \
|
|
io.parity.image.documentation="https://github.com/pezkuwichain/pezkuwi-sdk/"
|
|
|
|
# show backtraces
|
|
ENV RUST_BACKTRACE 1
|
|
|
|
USER root
|
|
|
|
RUN mkdir -p /specs
|
|
|
|
# add pezkuwi-teyrchain 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/pezkuwi-teyrchain --version
|
|
|
|
EXPOSE 30333 9933 9944 9615
|
|
VOLUME ["/pezkuwi", "/specs"]
|
|
|
|
ENTRYPOINT ["/usr/local/bin/pezkuwi-teyrchain"]
|