Skip to content

Commit

Permalink
Run inside the cosmos sdk container:
Browse files Browse the repository at this point in the history
  • Loading branch information
p-offtermatt committed Sep 18, 2023
1 parent 017b2ba commit 94cd182
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile-test
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# import simd from ibc-go
FROM ghcr.io/cosmos/simapp:v0.47 AS simapp-builder

FROM golang:1.20-alpine as cometmock-builder

Expand All @@ -20,12 +19,11 @@ ADD . /CometMock
WORKDIR /CometMock
RUN go build -o /usr/local/bin/cometmock ./cometmock

FROM --platform=linux/amd64 fedora:39
RUN dnf update -y
RUN dnf install -y which iproute iputils procps-ng vim-minimal tmux net-tools htop jq golang glibc
FROM ghcr.io/cosmos/simapp:v0.47
RUN apk update
RUN apk add --no-cache which iputils procps-ng tmux net-tools htop jq gcompat

COPY --from=cometmock-builder /usr/local/bin/cometmock /usr/local/bin/cometmock
COPY --from=simapp-builder /usr/bin/simd /usr/local/bin/simd

COPY . /CometMock

0 comments on commit 94cd182

Please sign in to comment.