|
@ -1,5 +1,5 @@ |
|
|
# stage 1 Generate Tendermint Binary |
|
|
# stage 1 Generate Tendermint Binary |
|
|
FROM golang:1.16-alpine as builder |
|
|
|
|
|
|
|
|
FROM golang:1.17-alpine as builder |
|
|
RUN apk update && \ |
|
|
RUN apk update && \ |
|
|
apk upgrade && \ |
|
|
apk upgrade && \ |
|
|
apk --no-cache add make |
|
|
apk --no-cache add make |
|
@ -8,7 +8,7 @@ WORKDIR /tendermint |
|
|
RUN make build-linux |
|
|
RUN make build-linux |
|
|
|
|
|
|
|
|
# stage 2 |
|
|
# stage 2 |
|
|
FROM golang:1.15-alpine |
|
|
|
|
|
|
|
|
FROM golang:1.17-alpine |
|
|
LABEL maintainer="hello@tendermint.com" |
|
|
LABEL maintainer="hello@tendermint.com" |
|
|
|
|
|
|
|
|
# Tendermint will be looking for the genesis file in /tendermint/config/genesis.json |
|
|
# Tendermint will be looking for the genesis file in /tendermint/config/genesis.json |
|
|