mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-05-19 11:05:03 +08:00
17 lines
284 B
Docker
17 lines
284 B
Docker
FROM rust:stretch as build
|
|
|
|
WORKDIR /src
|
|
|
|
COPY . .
|
|
|
|
RUN apt-get update && apt-get install -y git
|
|
|
|
RUN cargo build
|
|
|
|
RUN mkdir /out
|
|
|
|
RUN /src/target/debug/blockstack-core docgen > /out/clarity-reference.json
|
|
|
|
FROM scratch AS export-stage
|
|
COPY --from=build /out/clarity-reference.json /
|