We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d85d18a commit 42f5a48Copy full SHA for 42f5a48
1 file changed
docker/Dockerfile
@@ -29,11 +29,13 @@ WORKDIR /go/mx-chain-go/cmd/node
29
30
# ===== SECOND STAGE ======
31
FROM ubuntu:22.04
32
-ARG TARGETARCH
+ARG DEBIAN_FRONTEND=noninteractive
33
+RUN apt-get update && apt-get upgrade -y
34
35
COPY --from=builder "/go/mx-chain-go/cmd/node" "/go/mx-chain-go/cmd/node/"
36
37
# Copy architecture-specific files
38
+ARG TARGETARCH
39
COPY --from=builder "/lib_${TARGETARCH}/*" "/lib/"
40
41
WORKDIR /go/mx-chain-go/cmd/node/
0 commit comments