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
c927ea6b
authored
2025-01-22 11:12:07 -0600
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Add bash-completion support for the tools being installed.
1 parent
4d4ae7bb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
Dockerfile
Dockerfile
View file @
c927ea6
...
...
@@ -35,7 +35,7 @@ FROM debian:bookworm-20241223-slim AS host-base-tools
RUN
true
&&
\
apt-get update
&&
\
apt-get install -y git libgpgme11 libsubid4 libdevmapper1.02.1
&&
\
apt-get install -y
bash-completion
git libgpgme11 libsubid4 libdevmapper1.02.1
&&
\
adduser tool
&&
\
getent passwd
&&
\
apt-get clean
&&
\
...
...
@@ -96,6 +96,11 @@ RUN true && set -x && \
tar -zxvf /srv/kustomize_linux_amd64.tar.gz
&&
\
mv kustomize /usr/local/bin/kustomize
&&
\
cd
..
&&
rm -rf install
&&
\
helm completion bash > /etc/bash_completion.d/helm
&&
\
istioctl completion bash > /etc/bash_completion.d/istioctl
&&
\
kubectl completion bash > /etc/bash_completion.d/kubectl
&&
\
kustomize completion bash > /etc/bash_completion.d/kustomize
&&
\
skopeo completion bash > /etc/bash_completion.d/skopeo
&&
\
true
USER tool:tool
...
...
@@ -118,5 +123,6 @@ FROM host-base-tools AS final-output
COPY --from=host-build-tools /home/tool/ /home/tool/
COPY --from=host-build-tools /usr/local/bin/ /usr/local/bin/
COPY --from=host-build-tools /usr/local/sbin/ /usr/local/sbin/
COPY --from=host-build-tools /etc/bash_completion.d/ /etc/bash_completion.d/
COPY entrypoint.sh /usr/local/sbin/entrypoint.sh
ENTRYPOINT
["entrypoint.sh"]
...
...
Please
register
or
sign in
to post a comment