diff --git a/Dockerfile.fast b/Dockerfile.fast index 49f1e35..8382a60 100644 --- a/Dockerfile.fast +++ b/Dockerfile.fast @@ -1,9 +1,13 @@ -# Some hardfork versions +# Some historical versions -# Godwoken testnet_v1 blocks[0..110000] uses polyjuice_v1.1.5-beta -# - https://github.com/nervosnetwork/godwoken-docker-prebuilds/pkgs/container/godwoken-prebuilds/23550942?tag=v1.1.4-rc1-202205301007 -# - https://github.com/nervosnetwork/godwoken-polyjuice/releases/tag/v1.1.5-beta -FROM ghcr.io/nervosnetwork/godwoken-prebuilds:v1.1.4-rc1-202205301007 as polyjuice_v1.1.5-beta +# Godwoken testnet_v1 blocks[0..110000] uses polyjuice-v1.1.5-beta +# https://github.com/nervosnetwork/godwoken-docker-prebuilds/pkgs/container/godwoken-prebuilds/23550942?tag=v1.1.4-rc1 +# > "ref.component.godwoken-polyjuice": "v1.1.5-beta 2607851" +FROM ghcr.io/nervosnetwork/godwoken-prebuilds:v1.1.4-rc1 as polyjuice-v1.1.5-beta + +# https://github.com/nervosnetwork/godwoken-docker-prebuilds/pkgs/container/godwoken-prebuilds/24701212?tag=1.2.0-rc1 +# > "ref.component.godwoken-polyjuice": "1.2.0 b1e0622" +FROM ghcr.io/nervosnetwork/godwoken-prebuilds:1.2.0-rc1 as polyjuice-v1.2.0 ################################################################################ FROM ubuntu:21.04 @@ -49,10 +53,19 @@ COPY build/godwoken-polyjuice/build/*generator* /scripts/godwoken-polyjuice/ COPY build/godwoken-polyjuice/build/*validator* /scripts/godwoken-polyjuice/ ################################################################################ -############################ polyjuice_v1.1.5-beta ############################# +############################## polyjuice-v1.2.0 ################################ +# https://github.com/nervosnetwork/godwoken-polyjuice/releases/tag/1.2.0 +RUN mkdir -p /scripts/godwoken-polyjuice-v1.2.0 + +COPY --from=polyjuice-v1.2.0 /scripts/godwoken-polyjuice/* \ + /scripts/godwoken-polyjuice-v1.2.0/ +################################################################################ + +############################ polyjuice-v1.1.5-beta ############################# +# https://github.com/nervosnetwork/godwoken-polyjuice/releases/tag/v1.1.5-beta RUN mkdir -p /scripts/godwoken-polyjuice-v1.1.5-beta -COPY --from=polyjuice_v1.1.5-beta /scripts/godwoken-polyjuice/* \ +COPY --from=polyjuice-v1.1.5-beta /scripts/godwoken-polyjuice/* \ /scripts/godwoken-polyjuice-v1.1.5-beta/ ################################################################################