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
34afa5a5
Commit
34afa5a5
authored
3 months ago
by
Morgan Hoffman
Browse files
Options
Downloads
Plain Diff
Merge branch 'akers-platform-2905' into 'main'
[
PLATFORM-2905
] remove sudo commands See merge request
!16
parents
59578525
bf630e5e
1 merge request
!16
[PLATFORM-2905] remove sudo commands
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Dockerfile
+4
-4
4 additions, 4 deletions
Dockerfile
with
4 additions
and
4 deletions
Dockerfile
+
4
−
4
View file @
34afa5a5
...
@@ -115,10 +115,10 @@ COPY requirements.txt /tmp
...
@@ -115,10 +115,10 @@ 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
\
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 gnupg 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
&&
\
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.30/deb/Release.key |
sudo
gpg
--dearmor
-o
/etc/apt/keyrings/kubernetes-apt-keyring.gpg 1> /dev/null
&&
\
curl
-fsSL
https://pkgs.k8s.io/core:/stable:/v1.30/deb/Release.key | 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
\
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
&&
\
echo
"deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.30/deb/ /"
|
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
\
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
&&
\
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
&&
\
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
&&
\
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
&&
\
...
...
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