-
Notifications
You must be signed in to change notification settings - Fork 416
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #309 from delimitrou/revert-308-reviewservice
Revert "add Review Service"
- Loading branch information
Showing
1,513 changed files
with
397,871 additions
and
143,052 deletions.
There are no files selected for viewing
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,30 @@ | ||
FROM golang:1.17.3 | ||
|
||
RUN git config --global http.sslverify false | ||
COPY . /go/src/github.com/harlow/go-micro-services | ||
WORKDIR /go/src/github.com/harlow/go-micro-services | ||
RUN go get gopkg.in/mgo.v2 | ||
RUN go get github.com/bradfitz/gomemcache/memcache | ||
RUN go get github.com/google/uuid | ||
RUN go mod init | ||
RUN go mod vendor | ||
RUN go install -ldflags="-s -w" ./cmd/... | ||
FROM golang:1.21 as builder | ||
|
||
WORKDIR /workspace | ||
|
||
COPY go.sum go.sum | ||
COPY go.mod go.mod | ||
COPY vendor/ vendor/ | ||
|
||
COPY cmd/ cmd/ | ||
COPY dialer/ dialer/ | ||
COPY registry/ registry/ | ||
COPY services/ services/ | ||
COPY tls/ tls/ | ||
COPY tracing/ tracing/ | ||
COPY tune/ tune/ | ||
|
||
RUN CGO_ENABLED=0 GOOS=linux GO111MODULE=on go install -ldflags="-s -w" -mod=vendor ./cmd/... | ||
|
||
FROM gcr.io/distroless/static:nonroot | ||
|
||
WORKDIR / | ||
|
||
COPY --from=builder /go/bin/frontend . | ||
COPY --from=builder /go/bin/geo . | ||
COPY --from=builder /go/bin/profile . | ||
COPY --from=builder /go/bin/rate . | ||
COPY --from=builder /go/bin/recommendation . | ||
COPY --from=builder /go/bin/reservation . | ||
COPY --from=builder /go/bin/search . | ||
COPY --from=builder /go/bin/user . |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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
Oops, something went wrong.