File tree Expand file tree Collapse file tree 5 files changed +5
-24
lines changed Expand file tree Collapse file tree 5 files changed +5
-24
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,7 @@ ENV PATH $GOPATH/bin:/usr/local/go/bin:$PATH
55
66WORKDIR /src
77
8- COPY vendor vendor
9- COPY cmd cmd
10- COPY pkg pkg
11- COPY Makefile go.mod go.sum ./
8+ COPY . .
129RUN make build cross
1310
1411# copy and build vendored grpc_health_probe
Original file line number Diff line number Diff line change @@ -3,11 +3,7 @@ FROM golang:1.13-alpine as builder
33RUN apk update && apk add sqlite build-base git mercurial bash
44WORKDIR /go/src/github.com/operator-framework/operator-registry
55
6- COPY vendor vendor
7- COPY cmd cmd
8- COPY pkg pkg
9- COPY Makefile Makefile
10- COPY go.mod go.mod
6+ COPY . .
117RUN make static
128
139FROM golang:1.13-alpine as probe-builder
Original file line number Diff line number Diff line change @@ -3,11 +3,7 @@ FROM golang:1.13-alpine as builder
33RUN apk update && apk add sqlite build-base git mercurial bash
44WORKDIR /build
55
6- COPY vendor vendor
7- COPY cmd cmd
8- COPY pkg pkg
9- COPY Makefile Makefile
10- COPY go.mod go.mod
6+ COPY . .
117RUN make static
128RUN GRPC_HEALTH_PROBE_VERSION=v0.3.2 && \
139 wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-$(go env GOARCH) && \
Original file line number Diff line number Diff line change @@ -3,11 +3,7 @@ FROM golang:1.13-alpine as builder
33RUN apk update && apk add sqlite build-base git mercurial bash
44WORKDIR /build
55
6- COPY vendor vendor
7- COPY cmd cmd
8- COPY pkg pkg
9- COPY Makefile Makefile
10- COPY go.mod go.mod
6+ COPY . .
117RUN make static
128RUN GRPC_HEALTH_PROBE_VERSION=v0.3.2 && \
139 wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-$(go env GOARCH) && \
Original file line number Diff line number Diff line change @@ -3,11 +3,7 @@ FROM golang:1.13-alpine AS builder
33RUN apk update && apk add sqlite build-base git mercurial bash
44WORKDIR /build
55
6- COPY vendor vendor
7- COPY cmd cmd
8- COPY pkg pkg
9- COPY Makefile Makefile
10- COPY go.mod go.mod
6+ COPY . .
117RUN make static
128RUN GRPC_HEALTH_PROBE_VERSION=v0.3.2 && \
139 wget -qO/bin/grpc_health_probe https://github.com/grpc-ecosystem/grpc-health-probe/releases/download/${GRPC_HEALTH_PROBE_VERSION}/grpc_health_probe-linux-$(go env GOARCH) && \
You can’t perform that action at this time.
0 commit comments