Skip to content

Commit bc8c5b1

Browse files
committed
add solc image to coordiantor docker
1 parent 69a7339 commit bc8c5b1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build/dockerfiles/coordinator-api.Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ FROM ubuntu:20.04
4040
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/src/coordinator/internal/logic/verifier/lib
4141
ENV CGO_LDFLAGS="-Wl,--no-as-needed -ldl"
4242
# ENV CHAIN_ID=534353
43-
RUN apt update && apt install vim netcat-openbsd net-tools curl jq -y
43+
RUN apt update && apt install vim netcat-openbsd net-tools curl jq wget -y
4444
RUN mkdir -p /src/coordinator/internal/logic/verifier/lib
45+
RUN mkdir -p /usr/local/bin
46+
RUN wget https://github.com/ethereum/solidity/releases/download/v0.8.19/solc-static-linux -O /usr/local/bin/solc
47+
RUN chmod +x /usr/local/bin/solc
4548
COPY --from=builder /bin/lib /src/coordinator/internal/logic/verifier/lib
4649
COPY --from=builder /bin/coordinator_api /bin/
4750
RUN /bin/coordinator_api --version

0 commit comments

Comments
 (0)