2021-10-18 13:16:32 +03:00
|
|
|
FROM ethereum/solc:0.6.4-alpine
|
|
|
|
|
2023-04-10 13:36:45 +03:00
|
|
|
RUN apk add --no-cache ca-certificates npm nodejs bash alpine-sdk git
|
2021-10-18 13:16:32 +03:00
|
|
|
|
2023-06-30 07:06:56 +03:00
|
|
|
RUN git clone https://github.com/bnb-chain/canonical-upgradeable-bep20.git /usr/app/canonical-upgradeable-bep20
|
2021-10-18 13:16:32 +03:00
|
|
|
|
|
|
|
WORKDIR /usr/app/canonical-upgradeable-bep20
|
|
|
|
COPY docker/truffle-config.js /usr/app/canonical-upgradeable-bep20
|
|
|
|
|
2021-10-20 13:29:40 +03:00
|
|
|
RUN npm install -g --unsafe-perm truffle@v5.1.14
|
2021-10-18 13:16:32 +03:00
|
|
|
RUN npm install
|
|
|
|
|
|
|
|
ENTRYPOINT [ "/bin/bash" ]
|