Skip to content

Commit f0f3759

Browse files
authored
Merge pull request #7 from cloudstruct/fix/uname-on-cp
fix: use uname -m on copy path
2 parents 237e1ad + afafa2e commit f0f3759

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,8 @@ RUN echo "Building tags/${NODE_VERSION}..." \
7474
&& echo " flags: -external-libsodium-vrf" >> cabal.project.local \
7575
&& cabal build all \
7676
&& mkdir -p /root/.local/bin/ \
77-
&& cp -p dist-newstyle/build/x86_64-linux/ghc-$GHC_VERSION/cardano-node-${NODE_VERSION}/x/cardano-node/build/cardano-node/cardano-node /root/.local/bin/ \
78-
&& cp -p dist-newstyle/build/x86_64-linux/ghc-$GHC_VERSION/cardano-cli-${NODE_VERSION}/x/cardano-cli/build/cardano-cli/cardano-cli /root/.local/bin/ \
77+
&& cp -p dist-newstyle/build/$(uname -m)-linux/ghc-$GHC_VERSION/cardano-node-${NODE_VERSION}/x/cardano-node/build/cardano-node/cardano-node /root/.local/bin/ \
78+
&& cp -p dist-newstyle/build/$(uname -m)-linux/ghc-$GHC_VERSION/cardano-cli-${NODE_VERSION}/x/cardano-cli/build/cardano-cli/cardano-cli /root/.local/bin/ \
7979
&& rm -rf /root/.cabal/packages \
8080
&& rm -rf /usr/local/lib/ghc-8.10.7/ /usr/local/share/doc/ghc-8.10.7/ \
8181
&& rm -rf /cardano-node/dist-newstyle/ \

0 commit comments

Comments
 (0)