diff --git a/Dockerfile b/Dockerfile index cceb749..7b67a54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,5 +19,9 @@ RUN mkdir build && \ -DCMAKE_CXX_FLAGS="-Wno-error=conversion" && \ make solc -j$(nproc) +FROM ubuntu:jammy-20240212 + +COPY --from=solc-builder /app/solidity/build/solc/solc /app/solc WORKDIR /app/root -ENTRYPOINT ["/app/solidity/build/solc/solc"] + +ENTRYPOINT ["/app/solc"] diff --git a/eof-solc b/eof-solc index 5e3cef0..8373f4e 100755 --- a/eof-solc +++ b/eof-solc @@ -1,3 +1,3 @@ #!/usr/bin/env bash -docker run -i -v $(pwd):/app/root eof-solc "$@" \ No newline at end of file +docker run --rm -i -v $(pwd):/app/root ghcr.io/paradigmxyz/forge-eof:latest "$@" \ No newline at end of file