Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Paas CI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
INFN Cloud
Paas CI
Commits
37844927
Commit
37844927
authored
2 years ago
by
qweqweasdasd
Browse files
Options
Downloads
Patches
Plain Diff
added in dockerfile oidc-agent installation
parent
0ca2e17a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
utils/Dockerfile
+11
-4
11 additions, 4 deletions
utils/Dockerfile
with
11 additions
and
4 deletions
utils/Dockerfile
+
11
−
4
View file @
37844927
FROM
jenkins/ssh-agent
ARG
ORCHENT_VERSION=1.2.9.rc1
ARG
LIBQRENCODE_PATH=/tmp/libqrencode.deb
RUN
DEBIAN_FRONTEND
=
noninteractive
\
&& apt-get update && apt-get install -y gnupg2 \
RUN
DEBIAN_FRONTEND
=
noninteractive
&& apt-get update && apt-get install -y gnupg2 apt-utils software-properties-common wget \
&& wget -O ${LIBQRENCODE_PATH} wget http://archive.ubuntu.com/ubuntu/pool/universe/q/qrencode/libqrencode3_3.4.4-1build1_amd64.deb \
&& dpkg -i ${LIBQRENCODE_PATH} && rm -f ${LIBQRENCODE_PATH} \
&& apt-key adv --keyserver hkp://pgp.surfnet.nl --recv-keys ACDFB08FDC962044D87FF00B512839863D487A87 \
&& add-apt-repository "deb http://repo.data.kit.edu/ubuntu/bionic ./" \
&& apt-get update \
&& apt-get install -y wget git ansible python3-pip openssh-client iproute2 net-tools oidc-agent\
&& apt-get install -y wget git ansible python3-pip openssh-client iproute2 net-tools oidc-agent
\
&& wget https://github.com/indigo-dc/orchent/releases/download/v${ORCHENT_VERSION}/orchent_${ORCHENT_VERSION}_amd64.deb \
&& dpkg -i orchent_${ORCHENT_VERSION}_amd64.deb \
&& pip install gvm-tools \
...
...
@@ -18,10 +22,13 @@ RUN useradd -ms /bin/bash gmp \
COPY
id_rsa /home/gmp/.ssh
COPY
known_hosts /home/gmp/.ssh
RUN
chown
-R
gmp:gmp /home/gmp
\
RUN
chown
-R
gmp:gmp /home/gmp
/tmp
\
&&
chmod
0600 /home/gmp/.ssh/id_rsa
\
&&
chown
gmp:gmp /etc/environment
USER
gmp
RUN
eval
`
oidc-agent-service start
`
WORKDIR
/home/gmp
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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