From b08ecae0d52e9e633b1f582fad71df16aff6547c Mon Sep 17 00:00:00 2001 From: Arsenii Kulikov Date: Mon, 5 Aug 2024 17:03:00 +0800 Subject: [PATCH] update --- Dockerfile | 6 +++++- eof-solc | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) 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