Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions linux/base.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,15 @@ RUN chmod 755 /usr/local/bin/ansible* \
&& /opt/ansible/bin/python -m pip install -r /usr/share/ansible/collections/ansible_collections/azure/azcollection/requirements.txt


# Install latest version of Istio
# Install specific version of Istio from GitHub releases
ENV ISTIO_VERSION=1.28.1
RUN export TMP_DIR=$(mktemp -d) \
&& pushd "${TMP_DIR}" \
&& curl -sSL https://git.io/getLatestIstio | sh - \
&& mv ./istio*/bin/istioctl /usr/local/bin/istioctl \
&& cd "${TMP_DIR}" \
&& curl -L https://github.com/istio/istio/releases/download/${ISTIO_VERSION}/istio-${ISTIO_VERSION}-linux-amd64.tar.gz -o istio.tar.gz \
&& tar -xzf istio.tar.gz \
&& mv istio-${ISTIO_VERSION}/bin/istioctl /usr/local/bin/istioctl \
&& chmod 755 /usr/local/bin/istioctl \
&& popd \
&& cd / \
&& rm -rf "${TMP_DIR}"

ENV GOROOT="/usr/lib/golang"
Expand Down Expand Up @@ -226,7 +228,7 @@ RUN curl -fsSL https://aka.ms/install-azd.sh | bash && \
# Install rootless kit
TMP_DIR=$(mktemp -d) && \
pushd $TMP_DIR && \
ROOTLESSKIT_VERSION=$(curl https://api.github.com/repos/rootless-containers/rootlesskit/releases/latest | jq -r '.tag_name') && \
ROOTLESSKIT_VERSION=v2.3.5 && \
curl -LO https://github.com/rootless-containers/rootlesskit/releases/download/${ROOTLESSKIT_VERSION}/rootlesskit-x86_64.tar.gz && \
curl -LO https://github.com/rootless-containers/rootlesskit/releases/download/${ROOTLESSKIT_VERSION}/SHA256SUMS && \
sha256sum -c SHA256SUMS --ignore-missing && \
Expand Down