Skip to content

Commit

Permalink
add deb profile parameter to itn and txn burst dockers
Browse files Browse the repository at this point in the history
  • Loading branch information
dkijania committed Sep 22, 2023
1 parent de1a738 commit aadcceb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion dockerfiles/Dockerfile-itn-orchestrator
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
3 changes: 2 additions & 1 deletion dockerfiles/Dockerfile-txn-burst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/*

Expand Down

0 comments on commit aadcceb

Please sign in to comment.