Skip to content

Commit

Permalink
base-istio: Only install istioctl binary
Browse files Browse the repository at this point in the history
This commit updates the installation steps to install only Istio and not the
entire Istio Github package.

Signed-off-by: Suraj Deshmukh <[email protected]>
  • Loading branch information
surajssd committed Feb 11, 2025
1 parent ab53697 commit f9f79f8
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions linux/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,13 @@ RUN chmod 755 /usr/local/bin/ansible* \


# Install latest version of Istio
ENV ISTIO_ROOT /usr/local/istio-latest
RUN curl -sSL https://git.io/getLatestIstio | sh - \
&& mv $PWD/istio* $ISTIO_ROOT \
&& chmod -R 755 $ISTIO_ROOT
ENV PATH $PATH:$ISTIO_ROOT/bin
RUN export TMP_DIR=$(mktemp -d) \
&& pushd "${TMP_DIR}" \
&& curl -sSL https://git.io/getLatestIstio | sh - \
&& mv ./istio*/bin/istioctl /usr/local/bin/istioctl \
&& chmod 755 /usr/local/bin/istioctl \
&& popd \
&& rm -rf "${TMP_DIR}"

ENV GOROOT="/usr/lib/golang"
ENV PATH="$PATH:$GOROOT/bin:/opt/mssql-tools18/bin"
Expand Down

0 comments on commit f9f79f8

Please sign in to comment.