mukan-ibc/Dockerfile
Mukan Erkin Törük 6852832fe8
Some checks failed
CodeQL / Analyze (push) Waiting to run
Docker Build & Push Simapp (main) / docker-build (push) Waiting to run
golangci-lint / lint (push) Waiting to run
Tests / Code Coverage / build (amd64) (push) Waiting to run
Tests / Code Coverage / build (arm64) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[additional-args:-tags="test_e2e" name:e2e path:./e2e]) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[name:08-wasm path:./modules/light-clients/08-wasm]) (push) Waiting to run
Tests / Code Coverage / unit-tests (map[name:ibc-go path:.]) (push) Waiting to run
Deploy to GitHub Pages / Deploy to GitHub Pages (push) Has been cancelled
Buf-Push / push (push) Has been cancelled
initial: sovereign Mukan Network fork
2026-05-11 03:18:28 +03:00

36 lines
783 B
Docker

FROM golang:1.23.8-alpine AS builder
ARG IBC_GO_VERSION
RUN set -eux; apk add --no-cache gcc git libusb-dev linux-headers make musl-dev;
ENV GOPATH=""
# ensure the ibc go version is being specified for this image.
RUN test -n "${IBC_GO_VERSION}"
# Copy relevant files before go mod download. Replace directives to local paths break if local
# files are not copied before go mod download.
ADD internal internal
ADD simapp simapp
ADD testing testing
ADD modules modules
ADD LICENSE LICENSE
COPY contrib/devtools/Makefile contrib/devtools/Makefile
COPY Makefile .
COPY go.mod .
COPY go.sum .
RUN go mod download
RUN make build
FROM alpine:3.21
ARG IBC_GO_VERSION
LABEL "org.cosmos.ibc-go"="${IBC_GO_VERSION}"
COPY --from=builder /go/build/simd /bin/simd
ENTRYPOINT ["simd"]