From 147470cae687f5a8802adee54a36fecc214e623a Mon Sep 17 00:00:00 2001 From: Joe Bowman Date: Thu, 28 Dec 2023 22:27:05 +0000 Subject: [PATCH] fix osmosis Dockerfile --- Dockerfile.osmosis | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Dockerfile.osmosis b/Dockerfile.osmosis index 1487a173c..ce09ab717 100644 --- a/Dockerfile.osmosis +++ b/Dockerfile.osmosis @@ -9,7 +9,7 @@ RUN apk add git # Needed by github.com/zondax/hid RUN apk add linux-headers -RUN git clone https://github.com/osmosis-labs/osmosis /osmosis --branch v21.1.2 +RUN git clone https://github.com/osmosis-labs/osmosis /osmosis --branch v21.1.4 WORKDIR /osmosis RUN ARCH=$(uname -m) && WASMVM_VERSION=$(go list -m github.com/CosmWasm/wasmvm | sed 's/.* //') && \ @@ -27,15 +27,11 @@ RUN BUILD_TAGS=muslc LINK_STATICALLY=true make build FROM alpine:3.18 -RUN apt update && apt install bash -y +RUN apk add --no-cache bash ca-certificates jq COPY --from=build /osmosis/build/osmosisd /bin/osmosisd -RUN useradd --system -m -d /osmosis --uid 1000 osmosis +RUN adduser -S -h /osmosis -D osmosis -u 1000 WORKDIR /osmosis USER osmosis -EXPOSE 26656 -EXPOSE 26657 -EXPOSE 1317 -