-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
15 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,16 +6,23 @@ ARG ZOMBIENET_RELEASE | |
ARG BASE_IMAGE=bitnami/minideb@sha256:6cc3baf349947d587a9cd4971e81ff3ffc0d17382f2b5b6de63d6542bff10c16 | ||
ARG RUST_IMAGE=rust:1.79-slim-bookworm | ||
|
||
ARG AUTHOR="[email protected] <Zak Fein>" | ||
|
||
FROM ${RUST_IMAGE} AS polkadot-sdk-builder | ||
|
||
LABEL org.opencontainers.image.authors="${AUTHOR}" | ||
LABEL org.opencontainers.image.description="Polkadot SDK builder image" | ||
|
||
WORKDIR /home/nonroot/ | ||
|
||
ARG POLKADOT_SDK_RELEASE | ||
ENV POLKADOT_SDK_RELEASE=$POLKADOT_SDK_RELEASE | ||
|
||
RUN apt-get update && \ | ||
apt-get install --no-install-recommends --yes \ | ||
git && \ | ||
git \ | ||
openssl \ | ||
libssl-dev && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
|
@@ -43,6 +50,9 @@ RUN echo "Listing files in /home/nonroot/polkadot-sdk/target: " && \ | |
|
||
FROM ${BASE_IMAGE} as zombienet-bin | ||
|
||
LABEL org.opencontainers.image.authors="${AUTHOR}" | ||
LABEL org.opencontainers.image.description="Zombienet image" | ||
|
||
ARG ZOMBIENET_RELEASE | ||
ENV ZOMBIENET_RELEASE=$ZOMBIENET_RELEASE | ||
|
||
|
@@ -92,6 +102,9 @@ RUN ./polkadot --version && \ | |
|
||
FROM zombienet-bin as final | ||
|
||
LABEL org.opencontainers.image.authors="${AUTHOR}" | ||
LABEL org.opencontainers.image.description="Zombienet Builder image" | ||
|
||
ENV PATH="/home/nonroot/bin:${PATH}" | ||
ARG ZOMBIENET_RELEASE | ||
ENV ZOMBIENET_RELEASE=$ZOMBIENET_RELEASE | ||
|