Add missing dockerfile, registry client sol
This commit is contained in:
24
Dockerfile
Normal file
24
Dockerfile
Normal file
@@ -0,0 +1,24 @@
|
||||
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"
|
||||
Reference in New Issue
Block a user