25 lines
670 B
Docker
25 lines
670 B
Docker
|
FROM ethereum/solc:0.6.12
|
||
|
|
||
|
# The solc image messes up the alpine environment, so we have to go all over again
|
||
|
FROM alpine
|
||
|
COPY --from=0 /usr/bin/solc /usr/bin/solc
|
||
|
|
||
|
RUN apk update && \
|
||
|
apk add make
|
||
|
|
||
|
WORKDIR /usr/src
|
||
|
|
||
|
COPY ./Makefile ./cic-contracts/Makefile
|
||
|
COPY ./*.sol ./cic-contracts/
|
||
|
|
||
|
RUN cd cic-contracts && \
|
||
|
make -B && make install -B
|
||
|
|
||
|
#RUN mkdir -vp /usr/local/share/cic/solidity && \
|
||
|
# cp -rv cic-contracts/abis
|
||
|
|
||
|
LABEL authors="Louis Holbrook <dev@holbrook.no> 0826EDA1702D1E87C6E2875121D2E7BB88C2A746"
|
||
|
LABEL spdx-license-identifier="GPL-3.0-or-later"
|
||
|
LABEL description="Ethereum smart contract interfaces used by the CIC component suite"
|
||
|
LABEL version="1"
|