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/
49 lines
1.3 KiB
Docker
49 lines
1.3 KiB
Docker
FROM docker.io/paritytech/base-bin
|
|
|
|
# This file allows building a Generic container image
|
|
# based on one or multiple pre-built Linux binaries.
|
|
# Some defaults are set to pezkuwi but all can be overridden.
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
# metadata
|
|
ARG VCS_REF
|
|
ARG BUILD_DATE
|
|
ARG IMAGE_NAME
|
|
|
|
# That can be a single one or a comma separated list
|
|
ARG BINARY=pezkuwi
|
|
|
|
ARG BIN_FOLDER=.
|
|
ARG DOC_URL=https://github.com/pezkuwichain/pezkuwi-sdk
|
|
ARG DESCRIPTION="Pezkuwi: a platform for web3"
|
|
ARG AUTHORS="devops-team@parity.io"
|
|
ARG VENDOR="Parity Technologies"
|
|
|
|
LABEL io.parity.image.authors=${AUTHORS} \
|
|
io.parity.image.vendor="${VENDOR}" \
|
|
io.parity.image.revision="${VCS_REF}" \
|
|
io.parity.image.title="${IMAGE_NAME}" \
|
|
io.parity.image.created="${BUILD_DATE}" \
|
|
io.parity.image.documentation="${DOC_URL}" \
|
|
io.parity.image.description="${DESCRIPTION}" \
|
|
io.parity.image.source="https://github.com/pezkuwichain/pezkuwi-sdk/blob/${VCS_REF}/docker/dockerfiles/binary_injected.Dockerfile"
|
|
|
|
USER root
|
|
WORKDIR /app
|
|
|
|
# add binary to docker image
|
|
# sample for pezkuwi: COPY ./pezkuwi ./pezkuwi-*-worker /usr/local/bin/
|
|
COPY entrypoint.sh .
|
|
COPY "bin/*" "/usr/local/bin/"
|
|
RUN chmod -R a+rx "/usr/local/bin"
|
|
|
|
USER parity
|
|
ENV BINARY=${BINARY}
|
|
|
|
# ENTRYPOINT
|
|
ENTRYPOINT ["/app/entrypoint.sh"]
|
|
|
|
# We call the help by default
|
|
CMD ["--help"]
|