Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated pipeline #6

Merged
merged 1 commit into from
Jan 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/.* //') && \
Expand All @@ -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"]

Loading