block-sdk/contrib/images/block-sdk.e2e.Dockerfile
David Terpay bfdd58411a
feat: Cache Tx Decoder (#528)
* init

* nit

* nits

* nit

* more nits

* go version bump

* image bump

* nit
2024-06-20 17:03:22 -04:00

14 lines
306 B
Docker

FROM golang:1.22-bullseye AS builder
WORKDIR /src/bsdk
COPY . .
RUN go mod tidy && make build-test-app
## Prepare the final clear binary
FROM ubuntu:rolling
EXPOSE 26656 26657 1317 9090 7171
COPY --from=builder /src/bsdk/build/* /usr/local/bin/
RUN apt-get update && apt-get install ca-certificates -y