* ci: add unit test fix: failed on test * ci: add truffle test * ci: update os version * ci: add cache for go build
17 lines
464 B
Docker
17 lines
464 B
Docker
FROM ethereum/solc:0.6.4-alpine
|
|
|
|
RUN apk add --d --no-cache ca-certificates npm nodejs bash alpine-sdk git
|
|
|
|
RUN git clone https://github.com/binance-chain/canonical-upgradeable-bep20.git /usr/app/canonical-upgradeable-bep20
|
|
|
|
WORKDIR /usr/app/canonical-upgradeable-bep20
|
|
COPY docker/truffle-config.js /usr/app/canonical-upgradeable-bep20
|
|
|
|
RUN npm install -g n
|
|
RUN n 12.18.3 && node -v
|
|
|
|
RUN npm install -g truffle@v5.1.14
|
|
RUN npm install
|
|
|
|
ENTRYPOINT [ "/bin/bash" ]
|