Skip to content

Commit

Permalink
Move aptos-node copy at end of Dockefile, go mod tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
maoueh committed Aug 4, 2022
1 parent 4022b78 commit 6cb75d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 22 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,14 @@ RUN mkdir /tmp/wasmer-install && cd /tmp/wasmer-install && \
mv lib/libwasmer.a lib/libwasmer.so /usr/lib/ && cd / && rm -rf /tmp/wasmer-install

ADD /fireaptos /app/fireaptos
COPY --from=chain /usr/local/bin/aptos-node /app/aptos-node

COPY tools/fireaptos/motd_generic /etc/
COPY tools/fireaptos/motd_node_manager /etc/
COPY tools/fireaptos/99-firehose.sh /etc/profile.d/
COPY tools/fireaptos/scripts/* /usr/local/bin

# Happen as low as possible because we will be waiting for image to download, so it let
# operations above in in the same stage to continue
COPY --from=chain /usr/local/bin/aptos-node /app/aptos-node

ENTRYPOINT ["/app/fireaptos"]
21 changes: 0 additions & 21 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -539,13 +539,8 @@ github.com/streamingfast/atm v0.0.0-20220131151839-18c87005e680/go.mod h1:iISPGA
github.com/streamingfast/bstream v0.0.2-0.20220301162141-6630bbe5996c/go.mod h1:hn9uSr35wMOTA6qQRIxoC8UGD0W8GHi1OeUKdXBhQG4=
github.com/streamingfast/bstream v0.0.2-0.20220629203020-42f6dd770c50/go.mod h1:dMhUgTdaY+3F+weWsiLo5bNkoUxZbAhdwtCauYDLjEQ=
github.com/streamingfast/bstream v0.0.2-0.20220713194026-e4696dc8aab1/go.mod h1:dMhUgTdaY+3F+weWsiLo5bNkoUxZbAhdwtCauYDLjEQ=
github.com/streamingfast/bstream v0.0.2-0.20220714195705-e141dd606d6d/go.mod h1:dMhUgTdaY+3F+weWsiLo5bNkoUxZbAhdwtCauYDLjEQ=
github.com/streamingfast/bstream v0.0.2-0.20220718122956-ac9279114d50/go.mod h1:dMhUgTdaY+3F+weWsiLo5bNkoUxZbAhdwtCauYDLjEQ=
github.com/streamingfast/bstream v0.0.2-0.20220726184948-e50a4c390afe/go.mod h1:dMhUgTdaY+3F+weWsiLo5bNkoUxZbAhdwtCauYDLjEQ=
github.com/streamingfast/bstream v0.0.2-0.20220726185619-d6283d1f1aea/go.mod h1:dMhUgTdaY+3F+weWsiLo5bNkoUxZbAhdwtCauYDLjEQ=
github.com/streamingfast/bstream v0.0.2-0.20220729104140-7f836fe1f02f h1:vjNm8wFsFzugPk69nO5RRYw+E1TWdk4qlZE5M863NmA=
github.com/streamingfast/bstream v0.0.2-0.20220729104140-7f836fe1f02f/go.mod h1:dMhUgTdaY+3F+weWsiLo5bNkoUxZbAhdwtCauYDLjEQ=
github.com/streamingfast/bstream v0.0.2-0.20220802184829-1af251c95389 h1:OKaNxiZaD422Zt67tgtwyLd9nyAlJSL0efWHvJLu47M=
github.com/streamingfast/bstream v0.0.2-0.20220802184829-1af251c95389/go.mod h1:dMhUgTdaY+3F+weWsiLo5bNkoUxZbAhdwtCauYDLjEQ=
github.com/streamingfast/bstream v0.0.2-0.20220802193619-563b96c53fda/go.mod h1:dMhUgTdaY+3F+weWsiLo5bNkoUxZbAhdwtCauYDLjEQ=
github.com/streamingfast/bstream v0.0.2-0.20220804181845-6ba6c82abf00 h1:MEaxSon1TSd2RoDBP7EW9EC+jVZFLKnfc1OegpV8Low=
Expand Down Expand Up @@ -584,10 +579,6 @@ github.com/streamingfast/dtracing v0.0.0-20220305214756-b5c0e8699839 h1:K6mJPvh1
github.com/streamingfast/dtracing v0.0.0-20220305214756-b5c0e8699839/go.mod h1:huOJyjMYS6K8upTuxDxaNd+emD65RrXoVBvh8f1/7Ns=
github.com/streamingfast/firehose v0.1.1-0.20220629203325-f7498b95673d/go.mod h1:FR5VZzPMTFS7xeIiP2KyZ3DN859UcQljRbskaTmoLpg=
github.com/streamingfast/firehose v0.1.1-0.20220713194831-09ab25b3887c/go.mod h1:qWu096wGdJOHWKGsFHjQSE89FMYnFCMWBxx1583z1sk=
github.com/streamingfast/firehose v0.1.1-0.20220727195340-e08fa990c0bc h1:6jEN2vYS2N+DdPoY7vWowxeiHmjx+YVBAzYZKQyKow8=
github.com/streamingfast/firehose v0.1.1-0.20220727195340-e08fa990c0bc/go.mod h1:2Fj18HY4XROSi6gw6JjzUT6SXbCIaTwsO6xAcajb2Aw=
github.com/streamingfast/firehose v0.1.1-0.20220803180812-3493dd9dfcae h1:3vLdox+z/s82wYoapafneBRrd8YleTZ1xJMwPcvW/4c=
github.com/streamingfast/firehose v0.1.1-0.20220803180812-3493dd9dfcae/go.mod h1:OGb8noKOMRrx3kOqZCfSVowr9lVyaUtvovDDH0Rl470=
github.com/streamingfast/firehose v0.1.1-0.20220804182444-4a9610410835 h1:Iqn1JpmvMumf3PSOboxJWfCVKeXwxUAdP6QbtF7a8BY=
github.com/streamingfast/firehose v0.1.1-0.20220804182444-4a9610410835/go.mod h1:OGb8noKOMRrx3kOqZCfSVowr9lVyaUtvovDDH0Rl470=
github.com/streamingfast/jsonpb v0.0.0-20210811021341-3670f0aa02d0 h1:g8eEYbFSykyzIyuxNMmHEUGGUvJE0ivmqZagLDK42gw=
Expand All @@ -599,18 +590,8 @@ github.com/streamingfast/logging v0.0.0-20220304183711-ddba33d79e27/go.mod h1:4G
github.com/streamingfast/logging v0.0.0-20220304214715-bc750a74b424/go.mod h1:VlduQ80JcGJSargkRU4Sg9Xo63wZD/l8A5NC/Uo1/uU=
github.com/streamingfast/logging v0.0.0-20220511154537-ce373d264338 h1:Mn7i0pN8FASFpCDvtnRhV7L1bdlj1MteLkRWsxFVIhE=
github.com/streamingfast/logging v0.0.0-20220511154537-ce373d264338/go.mod h1:VlduQ80JcGJSargkRU4Sg9Xo63wZD/l8A5NC/Uo1/uU=
github.com/streamingfast/merger v0.0.3-0.20220728182037-7b5841d3c98f h1:mHGshw2TbEEU3bWMAhyPEYY2sLIzdZkPQD3YpbrjKT0=
github.com/streamingfast/merger v0.0.3-0.20220728182037-7b5841d3c98f/go.mod h1:poAOzquaxaFT7v0O0G6V0F2uffdUsgE8UUkXrO55EiQ=
github.com/streamingfast/merger v0.0.3-0.20220803202246-1277c51d3487 h1:dzUg2NGo8qopXrHgHlrFChiotSHM2Q5QTl9XrxrbbRk=
github.com/streamingfast/merger v0.0.3-0.20220803202246-1277c51d3487/go.mod h1:poAOzquaxaFT7v0O0G6V0F2uffdUsgE8UUkXrO55EiQ=
github.com/streamingfast/node-manager v0.0.2-0.20220728194124-81a202e6dcfa h1:6bTM6Q7KcMiT3PDir9HAzRxlvj5tkrN9rPxXfLCwBwE=
github.com/streamingfast/node-manager v0.0.2-0.20220728194124-81a202e6dcfa/go.mod h1:SlfQf3TwkX591DmmeBL2hrG1H/cz7p2ndl0JdE5+W8A=
github.com/streamingfast/node-manager v0.0.2-0.20220803133137-3b42097130a3 h1:UCaVxzcOgK++DtSuNGl8xr8F2SxHB0j14lsIXdHLBy4=
github.com/streamingfast/node-manager v0.0.2-0.20220803133137-3b42097130a3/go.mod h1:SlfQf3TwkX591DmmeBL2hrG1H/cz7p2ndl0JdE5+W8A=
github.com/streamingfast/node-manager v0.0.2-0.20220803133948-bebb28c2e31d h1:lKEIDAaauzcEy2xIKcEYz6pdH0QgZpMr7dLDn2MeP10=
github.com/streamingfast/node-manager v0.0.2-0.20220803133948-bebb28c2e31d/go.mod h1:SlfQf3TwkX591DmmeBL2hrG1H/cz7p2ndl0JdE5+W8A=
github.com/streamingfast/node-manager v0.0.2-0.20220803134516-f52e3f0817c5 h1:ehEoqwZp87oinCHArb6aOVxlvOXGjDaPuqWFmq5IpwM=
github.com/streamingfast/node-manager v0.0.2-0.20220803134516-f52e3f0817c5/go.mod h1:SlfQf3TwkX591DmmeBL2hrG1H/cz7p2ndl0JdE5+W8A=
github.com/streamingfast/node-manager v0.0.2-0.20220804015313-01ef0ea2678c h1:+/CHGxHvZGGjldmd5OTAW9zZUtcoSqHxW1hyxxDSckw=
github.com/streamingfast/node-manager v0.0.2-0.20220804015313-01ef0ea2678c/go.mod h1:SlfQf3TwkX591DmmeBL2hrG1H/cz7p2ndl0JdE5+W8A=
github.com/streamingfast/opaque v0.0.0-20210811180740-0c01d37ea308 h1:xlWSfi1BoPfsHtPb0VEHGUcAdBF208LUiFCwfaVPfLA=
Expand All @@ -621,8 +602,6 @@ github.com/streamingfast/pbgo v0.0.6-0.20220228185940-1bbaafec7d8a/go.mod h1:huK
github.com/streamingfast/pbgo v0.0.6-0.20220629184423-cfd0608e0cf4/go.mod h1:huKwfgTGFIFZMKSVbD5TywClM7zAeBUG/zePZMqvXQQ=
github.com/streamingfast/pbgo v0.0.6-0.20220630154121-2e8bba36234e h1:4fz1VvID5ZIi4qKw+669veqBDCW5PxfFqncL3Vvp2kE=
github.com/streamingfast/pbgo v0.0.6-0.20220630154121-2e8bba36234e/go.mod h1:huKwfgTGFIFZMKSVbD5TywClM7zAeBUG/zePZMqvXQQ=
github.com/streamingfast/relayer v0.0.2-0.20220729104233-021c788e2cc1 h1:F7ZX4vR+kIGHazzsA4kMuS9934jJhowMNbeAJQuM1S8=
github.com/streamingfast/relayer v0.0.2-0.20220729104233-021c788e2cc1/go.mod h1:FpQ5Jif5om2sO6dHpUaHjgAlSQCoNySBk97xj9McBV0=
github.com/streamingfast/relayer v0.0.2-0.20220802193804-8c63614023a9 h1:YlzaoC+USj1zCaBamPtvnzOX87cOPLF1/yh1ND+Oaps=
github.com/streamingfast/relayer v0.0.2-0.20220802193804-8c63614023a9/go.mod h1:n7m1p/EDE5YH75h/Alkqt1eG/I9e0aqr5OU9EjKBFnU=
github.com/streamingfast/sf-tools v0.0.0-20220727183125-3348eaca0e25 h1:HMJclIRfmcsBS4OrJrp90oLfpYmpShhv2sX/W0RJ4S0=
Expand Down

0 comments on commit 6cb75d0

Please sign in to comment.