mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 22:11:06 +00:00
ci: fix worker binaries could not be found (#1198)
* ci: fix worker binaries could not be found Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io> * Add missing bits Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io> * Fix malus build Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io> --------- Signed-off-by: Alexandru Gheorghe <alexandru.gheorghe@parity.io> Co-authored-by: Alexander Samusev <41779041+alvicsam@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
70ab64bd15
commit
4252e488a0
@@ -39,7 +39,7 @@ RUN apt-get update && \
|
||||
|
||||
|
||||
# add adder-collator binary to docker image
|
||||
COPY ./artifacts/malus /usr/local/bin
|
||||
COPY ./artifacts/malus ./artifacts/polkadot-execute-worker ./artifacts/polkadot-prepare-worker /usr/local/bin
|
||||
|
||||
USER nonroot
|
||||
|
||||
|
||||
@@ -32,13 +32,15 @@ RUN apt-get update && \
|
||||
chown -R polkadot:polkadot /data && \
|
||||
ln -s /data /polkadot/.local/share/polkadot
|
||||
|
||||
# add polkadot binary to docker image
|
||||
COPY ./artifacts/polkadot /usr/local/bin
|
||||
# add polkadot binaries to docker image
|
||||
COPY ./artifacts/polkadot ./artifacts/polkadot-execute-worker ./artifacts/polkadot-prepare-worker /usr/local/bin
|
||||
|
||||
USER polkadot
|
||||
|
||||
# check if executable works in this container
|
||||
RUN /usr/local/bin/polkadot --version
|
||||
RUN /usr/local/bin/polkadot-execute-worker --version
|
||||
RUN /usr/local/bin/polkadot-prepare-worker --version
|
||||
|
||||
EXPOSE 30333 9933 9944
|
||||
VOLUME ["/polkadot"]
|
||||
|
||||
@@ -44,6 +44,8 @@ USER polkadot
|
||||
|
||||
# check if executable works in this container
|
||||
RUN /usr/bin/polkadot --version
|
||||
RUN /usr/local/bin/polkadot-execute-worker --version
|
||||
RUN /usr/local/bin/polkadot-prepare-worker --version
|
||||
|
||||
EXPOSE 30333 9933 9944
|
||||
VOLUME ["/polkadot"]
|
||||
|
||||
Reference in New Issue
Block a user