File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1717# The build of the image will clone the genesis data repository so needs
1818# credentials to access it.
1919
20- ARG static_binaries_image_tag
21- FROM static-node-binaries:${static_binaries_image_tag} as binaries
20+ ARG static_binaries_image_tag=latest
21+ FROM static-node-binaries:${static_binaries_image_tag} AS binaries
2222
2323# Fetch genesis-data.
24- FROM alpine/git:latest as genesis-data
25- ARG genesis_ref
26- ARG genesis_path
24+ FROM alpine/git:latest AS genesis-data
25+ ARG genesis_ref=main
26+ ARG genesis_path=testnet/2022-06-13/genesis_data
2727RUN mkdir -p -m 0600 ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
2828RUN --mount=type=ssh git clone --depth 1 --branch
"${genesis_ref}" [email protected] :Concordium/concordium-infra-genesis-data.git
2929RUN mv "concordium-infra-genesis-data/${genesis_path}" /data
@@ -35,10 +35,10 @@ FROM ubuntu:24.04
3535# - stagenet
3636# - testnet
3737# - mainnet
38- ARG environment
38+ ARG environment=testnet
3939
4040RUN apt-get update && \
41- apt-get install -y libgmp10 libssl1.1 ca-certificates && \
41+ apt-get install -y ca-certificates && \
4242 rm -rf /var/lib/apt/lists/*
4343
4444COPY --from=binaries /build/bin/concordium-node /concordium-node
Original file line number Diff line number Diff line change 11# The ubuntu version to build the package in. This influences the dependencies
22# that will be added to the package. This should be the same as was used to
33# build the binaries.
4- ARG ubuntu_version
5- ARG static_binaries_image_tag
4+ ARG ubuntu_version=latest
5+ ARG static_binaries_image_tag=latest
66
7- FROM static-node-binaries:$static_binaries_image_tag as binaries
7+ FROM static-node-binaries:$static_binaries_image_tag AS binaries
88
99COPY template /pkg-root
1010
You can’t perform that action at this time.
0 commit comments