This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG PG_VERSION=13.4 | |
ARG VERSION=dev | |
FROM golang:1.16 as flyutil | |
ARG VERSION | |
WORKDIR /go/src/github.com/fly-examples/postgres-ha | |
COPY . . | |
RUN CGO_ENABLED=0 GOOS=linux go build -v -o /fly/bin/flyadmin ./cmd/flyadmin |