From 78764623f645735b7183a218250f4bc040e64f6f Mon Sep 17 00:00:00 2001 From: Grant Zukel Date: Wed, 3 Jan 2024 12:32:41 -0700 Subject: [PATCH] updated pipeline --- Dockerfile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index adedf565e..1db6815ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,15 +12,12 @@ FROM golang:1.21-alpine as builder ARG GIT_VERSION ARG GIT_COMMIT - WORKDIR /osmosis COPY go.mod go.sum ./ COPY . . RUN set -eux; apk add --no-cache ca-certificates build-base linux-headers && \ - #--mount=type=cache,target=/root/.cache/go-build \ - #--mount=type=cache,target=/root/go/pkg/mod \ go mod download RUN ARCH=$(uname -m) && WASMVM_VERSION=$(go list -m github.com/CosmWasm/wasmvm | sed 's/.* //') && \ @@ -39,12 +36,11 @@ RUN BUILD_TAGS=muslc LINK_STATICALLY=true GOWORK=off go build -mod=readonly \ # -------------------------------------------------------- FROM ${RUNNER_IMAGE} -COPY --chmod=777 ./start.sh /osmosis/start-sqs.sh COPY --from=builder /osmosis/build/sqsd /bin/sqsd ENV HOME /osmosis WORKDIR $HOME EXPOSE 9092 -RUN apt-get install curl +RUN apt-get install curl vim nano -ENTRYPOINT ["/osmosis/start-sqs.sh"] +ENTRYPOINT ["/bin/sqsd"]