Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 511 Bytes
FROM golang:1.12.3 as bd
RUN adduser --disabled-login appuser
ADD . .
RUN cd cmd; go build -ldflags="-w -s" -a -o /meshery-istio .
RUN find . -name "*.go" -type f -delete; mv istio /
FROM alpine
RUN apk --update add ca-certificates
RUN mkdir /lib64 && ln -s /lib/ /lib64/
COPY --from=bd /meshery-istio /app/
COPY --from=bd /istio /app/istio
COPY --from=bd /etc/passwd /etc/passwd
USER appuser
CMD ./meshery-istio
You can’t perform that action at this time.