Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
helm-charts
Shibboleth SP
Container Image
Commits
86aa3e28
Commit
86aa3e28
authored
Jun 09, 2021
by
Sandro Mathys
Browse files
re-add kubectl
parent
99e0c56b
Changes
1
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
Dockerfile
View file @
86aa3e28
...
...
@@ -8,11 +8,12 @@ ENV DEBIAN_FRONTEND=noninteractive
COPY
SWITCHaai-swdistrib.gpg kubernetes-archive-keyring.gpg /usr/share/keyrings/
# ca-certificates is required to access the kubernetes repo, thus the double dip
RUN
echo
"deb [signed-by=/usr/share/keyrings/SWITCHaai-swdistrib.gpg] http://pkg.switch.ch/switchaai/ubuntu focal main"
>
/etc/apt/sources.list.d/SWITCHaai-swdistrib.list
&&
\
apt-get update
&&
\
RUN
apt-get update
&&
\
apt-get
install
-y
--no-install-recommends
ca-certificates
&&
\
echo
"deb [signed-by=/usr/share/keyrings/SWITCHaai-swdistrib.gpg] http://pkg.switch.ch/switchaai/ubuntu focal main"
>
/etc/apt/sources.list.d/SWITCHaai-swdistrib.list
&&
\
echo
"deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main"
>
/etc/apt/sources.list.d/kubernetes.list
&&
\
apt-get update
&&
\
apt-get
install
-y
--no-install-recommends
apache2 shibboleth libapache2-mod-shib openssl
&&
\
apt-get
install
-y
--no-install-recommends
apache2 shibboleth libapache2-mod-shib openssl
kubectl
&&
\
apt-get clean
&&
\
rm
-rf
/var/lib/apt/lists/
*
/tmp/
*
/var/tmp/
*
&&
\
rm
-rf
/etc/apache2/conf-available
&&
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment