diff --git a/Dockerfile b/Dockerfile index 69a74ec2f1..d30500a66d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN cd price-feeder && make install # Fetch peggo (gravity bridge) binary FROM golang:1.17-alpine AS peggo-builder -ARG PEGGO_VERSION=v0.2.5 +ARG PEGGO_VERSION=v0.2.6 ENV PACKAGES make git libc-dev gcc linux-headers RUN apk add --no-cache $PACKAGES WORKDIR /downloads/ diff --git a/infra/packer/Dockerfile.build b/infra/packer/Dockerfile.build index 6150fd7e85..7d5bb78186 100644 --- a/infra/packer/Dockerfile.build +++ b/infra/packer/Dockerfile.build @@ -22,7 +22,6 @@ COPY Makefile go.mod go.sum ./ COPY ante/ ante/ COPY app/ app/ COPY cmd/ cmd/ -COPY price-feeder/ price-feeder/ COPY tests/ tests/ COPY x/ x/ @@ -32,13 +31,15 @@ RUN mv build/umeed build/umeed-beta # Build umeed RUN make build -# Build price-feeder -WORKDIR /tmp/build/umee/price-feeder +# Clone/Build price-feeder +WORKDIR /tmp/build/price-feeder +RUN git clone https://github.com/umee-network/umee.git --branch price-feeder/v0.1.1 --single-branch --depth 1 . +WORKDIR /tmp/build/price-feeder/price-feeder RUN make build # Clone/Build Peggo WORKDIR /tmp/build/peggo -RUN git clone https://github.com/umee-network/peggo.git --branch v0.2.2 --single-branch --depth 1 . +RUN git clone https://github.com/umee-network/peggo.git --branch v0.2.6 --single-branch --depth 1 . RUN make build WORKDIR /root diff --git a/infra/packer/bin/build-dist b/infra/packer/bin/build-dist index 5264f3bbf6..8c0724c431 100755 --- a/infra/packer/bin/build-dist +++ b/infra/packer/bin/build-dist @@ -8,7 +8,7 @@ CONTAINER=`docker create $TAG` docker cp "$CONTAINER:/tmp/build/umee/build/umeed-beta" dist/x86_64/ docker cp "$CONTAINER:/tmp/build/umee/build/umeed" dist/x86_64/ -docker cp "$CONTAINER:/tmp/build/umee/price-feeder/build/price-feeder" dist/x86_64/ +docker cp "$CONTAINER:/tmp/build/price-feeder/price-feeder/build/price-feeder" dist/x86_64/ docker cp "$CONTAINER:/tmp/build/peggo/build/peggo" dist/x86_64/ -docker rm -v "$CONTAINER" \ No newline at end of file +docker rm -v "$CONTAINER" diff --git a/infra/packer/umee-node-dist.pkr.hcl b/infra/packer/umee-node-dist.pkr.hcl index f9aac5a96a..d581bcc071 100644 --- a/infra/packer/umee-node-dist.pkr.hcl +++ b/infra/packer/umee-node-dist.pkr.hcl @@ -54,8 +54,8 @@ build { , "apt install -y --no-install-recommends caddy" , "apt dist-upgrade -y" , "rm -rf /var/lib/{apt,dpkg,cache,log}/" - , "curl -sLf https://github.com/informalsystems/ibc-rs/releases/download/v0.11.0/hermes-v0.11.0-x86_64-unknown-linux-gnu.tar.gz | tar -C /usr/local/bin -xz" - , "curl -sLf https://github.com/cosmos/gaia/releases/download/v6.0.0/gaiad-v6.0.0-linux-amd64 -o /usr/local/bin/gaiad" + , "curl -sLf https://github.com/informalsystems/ibc-rs/releases/download/v0.12.0/hermes-v0.12.0-x86_64-unknown-linux-gnu.tar.gz | tar -C /usr/local/bin -xz" + , "curl -sLf https://github.com/cosmos/gaia/releases/download/v6.0.3/gaiad-v6.0.3-linux-amd64 -o /usr/local/bin/gaiad" , "chmod a+x /usr/local/bin/gaiad" ] }