forked from meshery/meshery-tanzu-sm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meshery#5 Displaced all istio references with nsx-sm
Signed-off-by: gunjanmimo <[email protected]>
- Loading branch information
1 parent
cbdeb02
commit 760b327
Showing
20 changed files
with
160 additions
and
158 deletions.
There are no files selected for viewing
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,19 +1,19 @@ | ||
FROM golang:1.13.1 as bd | ||
RUN adduser --disabled-login --gecos "" appuser | ||
WORKDIR /github.com/layer5io/meshery-istio | ||
WORKDIR /github.com/layer5io/meshery-nsx-sm | ||
ADD . . | ||
RUN GOPROXY=direct GOSUMDB=off go build -ldflags="-w -s" -a -o /meshery-istio . | ||
RUN find . -name "*.go" -type f -delete; mv istio / | ||
RUN wget -O /istio.tar.gz https://github.com/istio/istio/releases/download/1.3.0/istio-1.3.0-linux.tar.gz | ||
RUN GOPROXY=direct GOSUMDB=off go build -ldflags="-w -s" -a -o /meshery-nsx-sm . | ||
RUN find . -name "*.go" -type f -delete; mv nsx-sm / | ||
RUN wget -O /nsx-sm.tar.gz https://github.com/nsx-sm/nsx-sm/releases/download/1.3.0/nsx-sm-1.3.0-linux.tar.gz | ||
|
||
FROM alpine | ||
RUN apk --update add ca-certificates | ||
RUN mkdir /lib64 && ln -s /lib/libc.musl-x86_64.so.1 /lib64/ld-linux-x86-64.so.2 | ||
COPY --from=bd /meshery-istio /app/ | ||
COPY --from=bd /istio /app/istio | ||
COPY --from=bd /istio.tar.gz /app/ | ||
COPY --from=bd /meshery-nsx-sm /app/ | ||
COPY --from=bd /nsx-sm /app/nsx-sm | ||
COPY --from=bd /nsx-sm.tar.gz /app/ | ||
COPY --from=bd /etc/passwd /etc/passwd | ||
ENV ISTIO_VERSION=istio-1.3.0 | ||
ENV nsx-sm_VERSION=nsx-sm-1.3.0 | ||
USER appuser | ||
WORKDIR /app | ||
CMD ./meshery-istio | ||
CMD ./meshery-nsx-sm |
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
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
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
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
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
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
4 changes: 2 additions & 2 deletions
4
istio/config_templates/circuit_breaking.tmpl → ...sm/config_templates/circuit_breaking.tmpl
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
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
File renamed without changes.
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
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
File renamed without changes.
Oops, something went wrong.