From aadcceb43167f88aa1a3ad3623c2ac9fa468938b Mon Sep 17 00:00:00 2001 From: dkijania Date: Fri, 22 Sep 2023 17:42:36 +0200 Subject: [PATCH] add deb profile parameter to itn and txn burst dockers --- dockerfiles/Dockerfile-itn-orchestrator | 3 ++- dockerfiles/Dockerfile-txn-burst | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dockerfiles/Dockerfile-itn-orchestrator b/dockerfiles/Dockerfile-itn-orchestrator index 17983b5f22f5..a9d54d099183 100644 --- a/dockerfiles/Dockerfile-itn-orchestrator +++ b/dockerfiles/Dockerfile-itn-orchestrator @@ -4,6 +4,7 @@ FROM ${image} ARG deb_version ARG deb_release=unstable ARG deb_codename=bullseye +ARG deb_profile=devnet ARG network=mainnet ENV DEBIAN_FRONTEND noninteractive @@ -22,7 +23,7 @@ WORKDIR /root RUN echo "Building image with version $deb_version from repo $deb_release $deb_codename for network $network" \ && echo "deb [trusted=yes] http://packages.o1test.net $deb_codename $deb_release" > /etc/apt/sources.list.d/o1.list \ && apt-get update --quiet --yes \ - && apt-get install --quiet --yes --allow-downgrades "mina-$network=$deb_version" \ + && apt-get install --quiet --yes --allow-downgrades "mina-$network-$deb_profile=$deb_version" \ && rm -rf /var/lib/apt/lists/* RUN wget https://golang.org/dl/go1.20.linux-amd64.tar.gz diff --git a/dockerfiles/Dockerfile-txn-burst b/dockerfiles/Dockerfile-txn-burst index 977d1b8767b5..5b1c4db25a94 100644 --- a/dockerfiles/Dockerfile-txn-burst +++ b/dockerfiles/Dockerfile-txn-burst @@ -10,6 +10,7 @@ FROM ${image} ARG deb_version ARG deb_codename=bullseye ARG deb_release=unstable +ARG deb_profile=devnet ARG network=mainnet ENV DEBIAN_FRONTEND noninteractive @@ -34,7 +35,7 @@ RUN apt-get -y update \ #install mina and txn burst tool RUN echo "deb [trusted=yes] http://packages.o1test.net $deb_codename $deb_release" | tee /etc/apt/sources.list.d/mina.list \ && apt-get update\ - && apt-get install --quiet --yes --allow-downgrades "mina-$network=$deb_version" \ + && apt-get install --quiet --yes --allow-downgrades "mina-$network-$deb_profile=$deb_version" \ && apt-get install --quiet --yes --allow-downgrades "mina-batch-txn=$deb_version" \ && rm -rf /var/lib/apt/lists/*