File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -171,13 +171,15 @@ RUN chmod 755 /usr/local/bin/ansible* \
171171 && /opt/ansible/bin/python -m pip install -r /usr/share/ansible/collections/ansible_collections/azure/azcollection/requirements.txt
172172
173173
174- # Install latest version of Istio
174+ # Install specific version of Istio from GitHub releases
175+ ENV ISTIO_VERSION=1.28.1
175176RUN export TMP_DIR=$(mktemp -d) \
176- && pushd "${TMP_DIR}" \
177- && curl -sSL https://git.io/getLatestIstio | sh - \
178- && mv ./istio*/bin/istioctl /usr/local/bin/istioctl \
177+ && cd "${TMP_DIR}" \
178+ && curl -L https://github.com/istio/istio/releases/download/${ISTIO_VERSION}/istio-${ISTIO_VERSION}-linux-amd64.tar.gz -o istio.tar.gz \
179+ && tar -xzf istio.tar.gz \
180+ && mv istio-${ISTIO_VERSION}/bin/istioctl /usr/local/bin/istioctl \
179181 && chmod 755 /usr/local/bin/istioctl \
180- && popd \
182+ && cd / \
181183 && rm -rf "${TMP_DIR}"
182184
183185ENV GOROOT="/usr/lib/golang"
@@ -226,7 +228,7 @@ RUN curl -fsSL https://aka.ms/install-azd.sh | bash && \
226228 # Install rootless kit
227229 TMP_DIR=$(mktemp -d) && \
228230 pushd $TMP_DIR && \
229- ROOTLESSKIT_VERSION=$(curl https://api.github.com/repos/rootless-containers/rootlesskit/releases/latest | jq -r '.tag_name' ) && \
231+ ROOTLESSKIT_VERSION=v2.3.5 && \
230232 curl -LO https://github.com/rootless-containers/rootlesskit/releases/download/${ROOTLESSKIT_VERSION}/rootlesskit-x86_64.tar.gz && \
231233 curl -LO https://github.com/rootless-containers/rootlesskit/releases/download/${ROOTLESSKIT_VERSION}/SHA256SUMS && \
232234 sha256sum -c SHA256SUMS --ignore-missing && \
You can’t perform that action at this time.
0 commit comments