Skip to content

Commit

Permalink
Trial and error.
Browse files Browse the repository at this point in the history
  • Loading branch information
andreibancioiu committed Mar 6, 2024
1 parent e240a7d commit b4c2f52
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Docker/arm64.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,5 @@ RUN apt-get update && apt-get install -y \

COPY ./capi_shim /capi_shim
WORKDIR /capi_shim
RUN go build -buildmode=c-shared -o libwasmer_linux_arm64_shim.so .
RUN patchelf --set-soname libwasmer_linux_arm64_shim.so libwasmer_linux_arm64_shim.so

FROM arm64v8/ubuntu:22.04

COPY --from=builder /capi_shim/libwasmer_linux_arm64_shim.so /data/libwasmer_linux_arm64_shim.so
RUN go build -buildmode=c-shared -o /data/libwasmer_linux_arm64_shim.so .
RUN patchelf --set-soname libwasmer_linux_arm64_shim.so /data/libwasmer_linux_arm64_shim.so

0 comments on commit b4c2f52

Please sign in to comment.