Skip to content

Commit 62195f4

Browse files
authored
Merge pull request #106 from blinklabs-io/chore/use-dockerfile-from-dependabot
chore: use from in dockerfile for dependabot detection
2 parents e67bb50 + 5095b1c commit 62195f4

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

Dockerfile

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,21 @@ RUN echo "Building tags/${NODE_VERSION}..." \
2020
&& rm -rf /code/cardano-node/dist-newstyle/ \
2121
&& rm -rf /root/.cabal/store/ghc-${GHC_VERSION}
2222

23+
FROM ghcr.io/blinklabs-io/cardano-cli:8.17.0.0 AS cardano-cli
24+
FROM ghcr.io/blinklabs-io/mithril-client:0.5.5-1 AS mithril-client
25+
FROM ghcr.io/blinklabs-io/nview:0.7.1 AS nview
26+
FROM ghcr.io/blinklabs-io/txtop:0.5.0 AS txtop
27+
2328
FROM debian:bookworm-slim AS cardano-node
2429
ENV LD_LIBRARY_PATH="/usr/local/lib:$LD_LIBRARY_PATH"
2530
ENV PKG_CONFIG_PATH="/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH"
2631
COPY --from=cardano-node-build /usr/local/lib/ /usr/local/lib/
2732
COPY --from=cardano-node-build /usr/local/include/ /usr/local/include/
2833
COPY --from=cardano-node-build /root/.local/bin/cardano-* /usr/local/bin/
29-
COPY --from=ghcr.io/blinklabs-io/cardano-cli:8.17.0.0 /usr/local/bin/cardano-cli /usr/local/bin/
30-
COPY --from=ghcr.io/blinklabs-io/mithril-client:0.5.5-1 /bin/mithril-client /usr/local/bin/
31-
COPY --from=ghcr.io/blinklabs-io/nview:0.7.1 /bin/nview /usr/local/bin/
32-
COPY --from=ghcr.io/blinklabs-io/txtop:0.5.0 /bin/txtop /usr/local/bin/
34+
COPY --from=cardano-cli /usr/local/bin/cardano-cli /usr/local/bin/
35+
COPY --from=mithril-client /bin/mithril-client /usr/local/bin/
36+
COPY --from=nview /bin/nview /usr/local/bin/
37+
COPY --from=txtop /bin/txtop /usr/local/bin/
3338
COPY bin/ /usr/local/bin/
3439
COPY config/ /opt/cardano/config/
3540
RUN apt-get update -y && \

0 commit comments

Comments
 (0)