Skip to content

Commit

Permalink
Merge branch 'rc/v1.6.0' into vm1.5.12
Browse files Browse the repository at this point in the history
  • Loading branch information
sasurobert authored Oct 9, 2023
2 parents 0c7d400 + b0a361f commit bc449fa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/node/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM golang:1.20.7 as builder

RUN apt-get update && apt-get install -y
RUN apt-get update && apt-get upgrade -y
WORKDIR /go/mx-chain-go
COPY . .
RUN go mod tidy
Expand All @@ -11,8 +11,10 @@ RUN cp /go/pkg/mod/github.com/multiversx/$(cat /go/mx-chain-go/go.mod | grep mx-
RUN cp /go/pkg/mod/github.com/multiversx/$(cat /go/mx-chain-go/go.mod | grep mx-chain-vm-go | sort -n | tail -n -1| awk -F '/' '{print$3}'| sed 's/ /@/g')/wasmer2/libvmexeccapi.so /lib/libvmexeccapi.so

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

# ===== SECOND STAGE ======
FROM ubuntu:22.04
RUN apt-get update && apt-get upgrade -y
COPY --from=builder "/go/mx-chain-go/cmd/node" "/go/mx-chain-go/cmd/node/"
COPY --from=builder "/lib/libwasmer_linux_amd64.so" "/lib/libwasmer_linux_amd64.so"
COPY --from=builder "/lib/libvmexeccapi.so" "/lib/libvmexeccapi.so"
Expand Down

0 comments on commit bc449fa

Please sign in to comment.