Skip to content

Commit bd9e55c

Browse files
committed
Cardano node and kuber binaries in Dockerfile
1 parent b4e5742 commit bd9e55c

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.devcontainer/Dockerfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,3 +80,18 @@ SHELL ["bash", "-lc"]
8080
#RUN nix-env -iA niv -f https://github.com/nmattia/niv/tarball/master --substituters https://niv.cachix.org --trusted-public-keys niv.cachix.org-1:X32PCg2e/zAm3/uD1ScqW2z/K0LtDyNV7RdaxIuLgQM=
8181
# && niv add mlabs-haskell/plutus-simple-model -r 64dd3fee4caff9472e0dcc2e14cc587452c80e77
8282

83+
# install cardano-node binaries
84+
RUN wget https://update-cardano-mainnet.iohk.io/cardano-node-releases/cardano-node-1.35.5-linux.tar.gz \
85+
&& tar -xf cardano-node-1.35.5-linux.tar.gz -C /usr/bin \
86+
&& cardano-cli --version
87+
88+
RUN echo "export CARDANO_NODE_SOCKET_PATH=/ipc/node.socket" >> ~/.bashrc
89+
90+
# install kuber
91+
RUN git clone https://github.com/dQuadrant/kuber \
92+
&& cd kuber \
93+
&& cabal update \
94+
&& cd server \
95+
&& cabal install
96+
97+
RUN echo "export PATH=$PATH:/root/.cabal/bin/kuber" >> ~/.bashrc

0 commit comments

Comments
 (0)