2023-01-11 07:30:13 -08:00
|
|
|
FROM ghcr.io/wormhole-foundation/aptos:1.0.4@sha256:0610c97ba32aab7113765b05a0c71d75b3842f7ee11ff8d7f75bd0ea03ad95b2 as aptos
|
2022-10-13 18:21:26 -07:00
|
|
|
|
|
|
|
# Support additional root CAs
|
|
|
|
COPY cert.pem* /certs/
|
|
|
|
RUN if [ -e /certs/cert.pem ]; then cp /certs/cert.pem /etc/ssl/certs/ca-certificates.crt; fi
|
|
|
|
|
|
|
|
WORKDIR /tmp
|
|
|
|
|
|
|
|
COPY wormhole/ wormhole
|
|
|
|
COPY token_bridge/ token_bridge
|
2022-12-12 22:35:12 -08:00
|
|
|
COPY nft_bridge/ nft_bridge
|
2022-10-13 18:21:26 -07:00
|
|
|
COPY deployer/ deployer
|
|
|
|
COPY coin/ coin
|
|
|
|
COPY examples/ examples
|
|
|
|
COPY Makefile Makefile
|
|
|
|
COPY scripts scripts
|
|
|
|
# In this step we optionally copy the .env file too
|
|
|
|
COPY start_node.sh .env* .
|
|
|
|
|
|
|
|
FROM aptos AS tests
|
|
|
|
|
|
|
|
WORKDIR /tmp
|
|
|
|
|
2023-01-19 08:37:55 -08:00
|
|
|
RUN make test
|