laconicd/Dockerfile
Sai Kumar 548f2a7b92 chore: rename the ethermint to chibaclonk
1. rename `ethermint` to `chiba-clonk`

2. fix the `make localnet-start`
2022-04-05 21:00:20 +05:30

31 lines
617 B
Docker

FROM golang:alpine AS build-env
# Set up dependencies
ENV PACKAGES git build-base
# Set working directory for the build
WORKDIR /go/src/github.com/vulcanize/chiba-clonk
# Install dependencies
RUN apk add --update $PACKAGES
RUN apk add linux-headers
# Add source files
COPY . .
# Make the binary
RUN make build
# Final image
FROM alpine:3.15
# Install ca-certificates
RUN apk add --update ca-certificates jq
WORKDIR /
# Copy over binaries from the build-env
COPY --from=build-env /go/src/github.com/vulcanize/chiba-clonk/build/chibaclonkd /usr/bin/chibaclonkd
# Run chibaclonkd by default
CMD ["chibaclonkd"]