Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
inkluster-dev
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
06327f5d
authored
2025-01-22 11:03:26 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add istioctl.
1 parent
38893c06
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
Dockerfile
Dockerfile
View file @
06327f5
...
...
@@ -23,6 +23,10 @@ ARG KUSTOMIZE_VERSION=3.8.10
#ARG KUSTOMIZE_VERSION=5.5.0
ADD
https://github.com/kubernetes-sigs/kustomize/releases/download/kustomize%2Fv${KUSTOMIZE_VERSION}/kustomize_v${KUSTOMIZE_VERSION}_linux_amd64.tar.gz /srv/kustomize_linux_amd64.tar.gz
FROM
scratch AS istioctl-remote
ARG ISTIOCTL_VERSION=1.15.0
ADD
https://github.com/istio/istio/releases/download/${ISTIOCTL_VERSION}/istio-${ISTIOCTL_VERSION}-linux-amd64.tar.gz /srv/istioctl-linux-amd64.tar.gz
FROM
scratch AS skopeo-remote
ARG SKOPEO_VERSION=1.15.0
ADD
https://github.com/containers/skopeo/archive/refs/tags/v${SKOPEO_VERSION}.tar.gz /srv/skopeo.tar.gz
...
...
@@ -67,6 +71,7 @@ COPY --from=helm-git-remote /srv/helm-git.tar.gz /srv/helm-git.tar.gz
COPY --from=helmfile-remote /srv/helmfile_linux_amd64.tar.gz /srv/helmfile_linux_amd64.tar.gz
COPY --from=kubectl-remote /srv/kubectl /usr/local/bin/kubectl
COPY --from=kustomize-remote /srv/kustomize_linux_amd64.tar.gz /srv/kustomize_linux_amd64.tar.gz
COPY --from=istioctl-remote /srv/istioctl-linux-amd64.tar.gz /srv/istioctl-linux-amd64.tar.gz
# requires: libgpgme11 libsubid4 libdevmapper1.02.1
COPY --from=skopeo-compiled /usr/local/bin/skopeo /usr/local/bin/skopeo
...
...
@@ -84,6 +89,10 @@ RUN true && set -x && \
mv helmfile /usr/local/bin/helmfile
&&
\
cd
..
&&
rm -rf install
&&
\
mkdir install
&&
cd
install
&&
\
tar -zxvf /srv/istioctl-linux-amd64.tar.gz
&&
\
ls istio-
*
/bin/
&&
\
mv istio-
*
/bin/istioctl /usr/local/bin/istioctl
&&
\
cd
..
&&
rm -rf install
&&
\
tar -zxvf /srv/kustomize_linux_amd64.tar.gz
&&
\
mv kustomize /usr/local/bin/kustomize
&&
\
cd
..
&&
rm -rf install
&&
\
...
...
@@ -98,6 +107,7 @@ RUN true && set -x && \
tar -C
$HELM_PLUGINS
-xf /srv/helm-git.tar.gz
&&
\
helm version
&&
helm plugin list
&&
\
helmfile version
&&
\
istioctl version --remote
=
false
&&
\
skopeo -v
&&
\
mkdir -p .config/kustomize/plugin
&&
\
mkdir .ssh
&&
chmod 700 .ssh
&&
\
...
...
Please
register
or
sign in
to post a comment