Skip to content

Commit

Permalink
Add polyjuice-v1.2.0 into prebuilds
Browse files Browse the repository at this point in the history
  • Loading branch information
Flouse committed Jun 11, 2022
1 parent b540d61 commit 7ad29f8
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions Dockerfile.fast
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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/
################################################################################

Expand Down

0 comments on commit 7ad29f8

Please sign in to comment.