Skip to content

Commit

Permalink
Additional Polkadot Binaries
Browse files Browse the repository at this point in the history
* `polkadot`
* `polkadot-execute-worker`
* `polkadot-prepare-worker`
  • Loading branch information
rblaine95 committed Dec 13, 2024
1 parent 72590d1 commit a100e60
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ WORKDIR /opt
ARG VERSION=polkadot-stable2409-2
RUN git clone https://github.com/paritytech/polkadot-sdk.git -b $VERSION --depth 1
WORKDIR /opt/polkadot-sdk
RUN cargo build --locked --release --package polkadot
RUN cargo build --locked --release \
--bin polkadot \
--bin polkadot-execute-worker \
--bin polkadot-prepare-worker

##################
# --- runner --- #
Expand All @@ -27,10 +30,8 @@ RUN addgroup --gid 65532 nonroot \
&& adduser --system --uid 65532 --gid 65532 --home /home/nonroot nonroot

COPY --from=builder /opt/polkadot-sdk/target/release/polkadot /usr/local/bin/polkadot
# COPY --from=builder /opt/polkadot-sdk/target/release/polkadot-execute-worker /usr/local/bin/polkadot-execute-worker
# COPY --from=builder /opt/polkadot-sdk/target/release/polkadot-parachain /usr/local/bin/polkadot-parachain
# COPY --from=builder /opt/polkadot-sdk/target/release/polkadot-prepare-worker /usr/local/bin/polkadot-prepare-worker
# COPY --from=builder /opt/polkadot-sdk/target/release/polkadot-substrate-node /usr/local/bin/polkadot-substrate-node
COPY --from=builder /opt/polkadot-sdk/target/release/polkadot-execute-worker /usr/local/bin/polkadot-execute-worker
COPY --from=builder /opt/polkadot-sdk/target/release/polkadot-prepare-worker /usr/local/bin/polkadot-prepare-worker

USER 65532

Expand Down

0 comments on commit a100e60

Please sign in to comment.