eif_build

Details
Source
FROM stagex/pallet-rust AS build
ARG VERSION
ADD fetch/eif_build-${VERSION}.tgz .
RUN mv tkhq-eif_build-* eif_build
WORKDIR /eif_build
RUN cargo fetch --locked
RUN --network=none <<-EOF
	ARCH="$(uname -m)"
	cargo build \
		--no-default-features \
		--locked \
		--release \
		--target ${ARCH}-unknown-linux-musl
	install -D -t /rootfs/usr/bin /eif_build/target/${ARCH}-unknown-linux-musl/release/eif_build
EOF
FROM stagex/core-filesystem AS package
COPY --from=build /rootfs/ /