-
Notifications
You must be signed in to change notification settings - Fork 671
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- incorrectly using some logic from a different PR from same repo - removed 'puppet-chain' from dockerfiles
- Loading branch information
Showing
2 changed files
with
18 additions
and
5 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 |
---|---|---|
@@ -1,15 +1,22 @@ | ||
FROM rust:bullseye as build | ||
FROM rust:stretch as build | ||
|
||
ARG STACKS_NODE_VERSION="No Version Info" | ||
ARG GIT_BRANCH='No Branch Info' | ||
ARG GIT_COMMIT='No Commit Info' | ||
|
||
WORKDIR /src | ||
|
||
COPY . . | ||
|
||
RUN mkdir /out | ||
|
||
RUN cd testnet/stacks-node && cargo build --features monitoring_prom,slog_json --release | ||
|
||
RUN cp target/release/stacks-node /out | ||
|
||
FROM --platform=${TARGETPLATFORM} debian:bullseye | ||
COPY --from=build /out/stacks-node /bin/ | ||
FROM debian:stretch-slim | ||
|
||
RUN apt update && apt install -y netcat | ||
COPY --from=build /out/ /bin/ | ||
|
||
CMD ["stacks-node", "mainnet"] |