changed binary names and source repos in docker files and readmes

This commit is contained in:
SpideyPool192
2022-09-07 12:56:51 +05:30
parent a57e5f4fd9
commit 09d81e4d66
60 changed files with 1930 additions and 1919 deletions
+34
View File
@@ -0,0 +1,34 @@
FROM golang:alpine AS build-env
# Install minimum necessary dependencies,
ENV PACKAGES curl make git libc-dev bash gcc linux-headers eudev-dev python3
RUN apk add --no-cache $PACKAGES
# Set up dependencies
ENV PACKAGES git build-base
# Set working directory for the build
WORKDIR /go/src/github.com/cerc-io/laconicd
# Add source files
COPY . .
# build binary
# RUN make build-linux
RUN COSMOS_BUILD_OPTIONS=badgerdb make build
# Final image
FROM alpine:edge
# 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/cerc-io/laconicd/build/laconicd /usr/bin/laconicd
EXPOSE 26656 26657 1317 9090 8545 8546
# Run ethermintd by default
CMD ["laconicd","start","--gql-playground","--gql-server","--home","/laconic","--mode","validator","--db-backend","badgerdb"]