Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
workstation
Manage
Activity
Members
Labels
Plan
Issues
1
Issue boards
Milestones
Wiki
Jira
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IT Common Platform
Public Images
workstation
Commits
59578525
Commit
59578525
authored
4 months ago
by
Alain Atemnkeng
Browse files
Options
Downloads
Plain Diff
Merge branch 'akers-platform-2866' into 'main'
[
PLATFORM-2866
] bump kubectl version See merge request
!15
parents
8a8828c0
4fec9f01
Branches
Branches containing commit
1 merge request
!15
[PLATFORM-2866] bump kubectl version
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+6
-4
6 additions, 4 deletions
Dockerfile
with
6 additions
and
4 deletions
Dockerfile
+
6
−
4
View file @
59578525
...
...
@@ -113,17 +113,19 @@ COPY entrypoint.sh /
COPY
requirements.txt /tmp
RUN
apt-get clean
&&
apt-get update
&&
apt-get
install
-y
curl unzip locales sshpass git jq vim
sudo
apt-transport-https
\
dnsutils inetutils-traceroute inetutils-ping netcat wget
\
dnsutils inetutils-traceroute inetutils-ping netcat
gnupg
wget
\
ca-certificates uuid-runtime openconnect python3 python3-pkg-resources python3-distutils python3-pip tmux zsh zsh-autosuggestions
&&
\
curl
-fsSL
https://pkgs.k8s.io/core:/stable:/v1.28/deb/Release.key | gpg
--dearmor
-o
/etc/apt/keyrings/kubernetes-apt-keyring.gpg 1> /dev/null
&&
\
echo
"deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.28/deb/ /"
|
tee
/etc/apt/sources.list.d/kubernetes.list
&&
\
curl
-fsSL
https://pkgs.k8s.io/core:/stable:/v1.30/deb/Release.key |
sudo
gpg
--dearmor
-o
/etc/apt/keyrings/kubernetes-apt-keyring.gpg 1> /dev/null
&&
\
sudo chmod
644 /etc/apt/keyrings/kubernetes-apt-keyring.gpg
# allow unprivileged APT programs to read this keyring
\
echo
"deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.30/deb/ /"
|
sudo tee
/etc/apt/sources.list.d/kubernetes.list
&&
\
sudo chmod
644 /etc/apt/sources.list.d/kubernetes.list
# helps tools such as command-not-found to work correctly
\
curl https://baltocdn.com/helm/signing.asc | gpg
--dearmor
|
tee
/etc/apt/trusted.gpg.d/helm.gpg 1> /dev/null
&&
\
echo
"deb https://baltocdn.com/helm/stable/debian/ all main"
|
tee
/etc/apt/sources.list.d/helm-stable-debian.list
&&
\
curl https://proget.makedeb.org/debian-feeds/prebuilt-mpr.pub | gpg
--dearmor
|
tee
/etc/apt/trusted.gpg.d/prebuilt-mpr-archive-keyring.gpg 1> /dev/null
&&
\
echo
"deb https://proget.makedeb.org prebuilt-mpr jammy"
|
tee
/etc/apt/sources.list.d/prebuilt-mpr.list
&&
\
curl https://aquasecurity.github.io/trivy-repo/deb/public.key | gpg
--dearmor
|
tee
/etc/apt/trusted.gpg.d/trivy.gpg 1> /dev/null
&&
\
echo
"deb https://aquasecurity.github.io/trivy-repo/deb jammy main"
|
tee
-a
/etc/apt/sources.list.d/trivy.list
&&
\
apt-get clean
&&
apt-get update
&&
apt-get
install
-y
kubectl
=
1.28.9-2.1
\
apt-get clean
&&
apt-get update
&&
apt-get
install
-y
kubectl
\
git jq ca-certificates vim
sudo
uuid-runtime openconnect python3 python3-pkg-resources python3-distutils python3-pip
\
curl unzip locales sshpass silversearcher-ag helm glab trivy pinentry-tty bash-completion
&&
\
pip3
install
-r
/tmp/requirements.txt
&&
\
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment