UNCLASSIFIED
Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Ironbank Containers
O
Opensource
jenkins
jenkins
Commits
aa42929b
Commit
aa42929b
authored
Jul 12, 2021
by
Olga Ojjeh
Browse files
Merge branch 'olga-update' into 'development'
Olga update See merge request
!47
parents
b72d7b96
b2ddccde
Pipeline
#393984
passed with stages
in 19 minutes and 57 seconds
Changes
3
Pipelines
4
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
Dockerfile
Dockerfile
+4
-2
hardening_manifest.yaml
hardening_manifest.yaml
+5
-0
scripts/jenkins-plugin-cli.sh
scripts/jenkins-plugin-cli.sh
+3
-0
No files found.
Dockerfile
View file @
aa42929b
...
@@ -63,13 +63,15 @@ USER ${user}
...
@@ -63,13 +63,15 @@ USER ${user}
COPY
--from=jenkins /usr/local/bin/jenkins-support /usr/local/bin/jenkins-support
COPY
--from=jenkins /usr/local/bin/jenkins-support /usr/local/bin/jenkins-support
COPY
scripts/jenkins.sh /usr/local/bin/jenkins.sh
COPY
scripts/jenkins.sh /usr/local/bin/jenkins.sh
COPY
jenkins-plugin-manager.jar /opt
COPY
--from=jenkins /bin/tini /bin/tini
COPY
--from=jenkins /bin/tini /bin/tini
COPY
--from=jenkins /sbin/tini /sbin/tini
COPY
--from=jenkins /sbin/tini /sbin/tini
COPY
scripts/plugins.sh /usr/local/bin/plugins.sh
COPY
scripts/install-plugins.sh /usr/local/bin/install-plugins.sh
COPY
scripts/jenkins-plugin-cli.sh /bin/jenkins-plugin-cli
HEALTHCHECK
--interval=10s --timeout=5s --start-period=1m --retries=5 CMD curl -I -f --max-time 5 http://localhost:8080/login?from=%2F || exit 1
HEALTHCHECK
--interval=10s --timeout=5s --start-period=1m --retries=5 CMD curl -I -f --max-time 5 http://localhost:8080/login?from=%2F || exit 1
ENTRYPOINT
["/sbin/tini", "--", "/usr/local/bin/jenkins.sh"]
ENTRYPOINT
["/sbin/tini", "--", "/usr/local/bin/jenkins.sh"]
# from a derived Dockerfile, can use `RUN plugins.sh active.txt` to setup $REF/plugins from a support bundle
# from a derived Dockerfile, can use `RUN plugins.sh active.txt` to setup $REF/plugins from a support bundle
COPY
scripts/plugins.sh /usr/local/bin/plugins.sh
COPY
scripts/install-plugins.sh /usr/local/bin/install-plugins.sh
hardening_manifest.yaml
View file @
aa42929b
...
@@ -39,6 +39,11 @@ labels:
...
@@ -39,6 +39,11 @@ labels:
resources
:
resources
:
-
url
:
"
docker://docker.io/jenkins/jenkins@sha256:a9cf9e95587179d843e1e9817ac2c1246c44935d5b8222b3a742114ffd88fc9a"
-
url
:
"
docker://docker.io/jenkins/jenkins@sha256:a9cf9e95587179d843e1e9817ac2c1246c44935d5b8222b3a742114ffd88fc9a"
tag
:
"
jenkins/jenkins:2.289.2-centos"
tag
:
"
jenkins/jenkins:2.289.2-centos"
-
filename
:
jenkins-plugin-manager.jar
url
:
https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/2.10.0/jenkins-plugin-manager-2.10.0.jar
validation
:
type
:
sha256
value
:
fd52046f8167355754471cf9d817986eb8b43f1832b7bac7c36eded65821f2c1
# List of project maintainers
# List of project maintainers
# FIXME: Fill in the following details for the current container owner in the whitelist
# FIXME: Fill in the following details for the current container owner in the whitelist
...
...
scripts/jenkins-plugin-cli.sh
0 → 100644
View file @
aa42929b
#!/bin/bash
exec
/bin/bash
-c
"java
$JAVA_OPTS
-jar /opt/jenkins-plugin-manager.jar
$*
"
\ No newline at end of file
Write
Preview
Markdown
is supported
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