Skip to content

Commit 25db7b5

Browse files
committed
chore: fully rolled back osmosis
1 parent 324788e commit 25db7b5

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

chains/osmosis/configuration/Dockerfile

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# syntax=docker/dockerfile:1
22

3-
# Please, when adding/editing this Dockerfile also take care of Dockerfile.cosmovisor as well
4-
53
ARG GO_VERSION="1.21"
64
ARG RUNNER_IMAGE="gcr.io/distroless/static-debian11"
75
ARG BUILD_TAGS="netgo,ledger,muslc"
@@ -29,12 +27,12 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
2927
go mod download
3028

3129
# Cosmwasm - Download correct libwasmvm version
32-
RUN ARCH=$(uname -m) && WASMVM_VERSION=$(go list -m github.com/CosmWasm/wasmvm/v2 | sed 's/.* //') && \
30+
RUN ARCH=$(uname -m) && WASMVM_VERSION=$(go list -m github.com/CosmWasm/wasmvm | sed 's/.* //') && \
3331
wget https://github.com/CosmWasm/wasmvm/releases/download/$WASMVM_VERSION/libwasmvm_muslc.$ARCH.a \
34-
-O /lib/libwasmvm_muslc.$ARCH.a && \
32+
-O /lib/libwasmvm_muslc.a && \
3533
# verify checksum
3634
wget https://github.com/CosmWasm/wasmvm/releases/download/$WASMVM_VERSION/checksums.txt -O /tmp/checksums.txt && \
37-
sha256sum /lib/libwasmvm_muslc.$ARCH.a | grep $(cat /tmp/checksums.txt | grep libwasmvm_muslc.$ARCH | cut -d ' ' -f 1)
35+
sha256sum /lib/libwasmvm_muslc.a | grep $(cat /tmp/checksums.txt | grep libwasmvm_muslc.$ARCH | cut -d ' ' -f 1)
3836

3937
# Copy the remaining files
4038
COPY . .
@@ -44,7 +42,7 @@ RUN --mount=type=cache,target=/root/.cache/go-build \
4442
--mount=type=cache,target=/root/go/pkg/mod \
4543
GOWORK=off go build \
4644
-mod=readonly \
47-
-tags "netgo,ledger,muslc" \
45+
-tags ${BUILD_TAGS} \
4846
-ldflags \
4947
"-X github.com/cosmos/cosmos-sdk/version.Name="osmosis" \
5048
-X github.com/cosmos/cosmos-sdk/version.AppName="osmosisd" \
@@ -64,7 +62,7 @@ FROM ${RUNNER_IMAGE}
6462

6563
COPY --from=builder /osmosis/build/osmosisd /bin/osmosisd
6664

67-
ENV HOME=/osmosis
65+
ENV HOME /osmosis
6866
WORKDIR $HOME
6967

7068
EXPOSE 26656

0 commit comments

Comments
 (0)