Skip to content

Commit 42f5a48

Browse files
committed
Update workaround for arm64
1 parent d85d18a commit 42f5a48

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

docker/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,13 @@ WORKDIR /go/mx-chain-go/cmd/node
2929

3030
# ===== SECOND STAGE ======
3131
FROM ubuntu:22.04
32-
ARG TARGETARCH
32+
ARG DEBIAN_FRONTEND=noninteractive
33+
RUN apt-get update && apt-get upgrade -y
3334

3435
COPY --from=builder "/go/mx-chain-go/cmd/node" "/go/mx-chain-go/cmd/node/"
3536

3637
# Copy architecture-specific files
38+
ARG TARGETARCH
3739
COPY --from=builder "/lib_${TARGETARCH}/*" "/lib/"
3840

3941
WORKDIR /go/mx-chain-go/cmd/node/

0 commit comments

Comments
 (0)