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
858194c2
Commit
858194c2
authored
Apr 26, 2021
by
Al Fontaine
Browse files
Merge branch 'development' into 'master'
Development See merge request
!38
parents
811c1e98
b513eade
Pipeline
#249550
failed with stages
in 24 minutes and 19 seconds
Changes
3
Pipelines
17
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
Dockerfile
Dockerfile
+3
-3
README.md
README.md
+2
-2
hardening_manifest.yaml
hardening_manifest.yaml
+4
-4
No files found.
Dockerfile
View file @
858194c2
...
@@ -2,7 +2,7 @@ ARG BASE_REGISTRY=registry1.dso.mil
...
@@ -2,7 +2,7 @@ ARG BASE_REGISTRY=registry1.dso.mil
ARG
BASE_IMAGE=redhat/openjdk/openjdk8-devel
ARG
BASE_IMAGE=redhat/openjdk/openjdk8-devel
ARG
BASE_TAG=1.8.0
ARG
BASE_TAG=1.8.0
FROM
jenkins/jenkins:2.2
63.2
-centos as jenkins
FROM
jenkins/jenkins:2.2
77.3
-centos as jenkins
FROM
${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
FROM
${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
...
@@ -33,7 +33,7 @@ RUN mkdir -p $JENKINS_HOME && \
...
@@ -33,7 +33,7 @@ RUN mkdir -p $JENKINS_HOME && \
chown
${
uid
}
:
${
gid
}
$JENKINS_HOME
&&
\
chown
${
uid
}
:
${
gid
}
$JENKINS_HOME
&&
\
groupadd
-g
${
gid
}
${
group
}
&&
\
groupadd
-g
${
gid
}
${
group
}
&&
\
useradd
-d
"
$JENKINS_HOME
"
-u
${
uid
}
-g
${
gid
}
-m
-s
/bin/bash
${
user
}
&&
\
useradd
-d
"
$JENKINS_HOME
"
-u
${
uid
}
-g
${
gid
}
-m
-s
/bin/bash
${
user
}
&&
\
dnf update
-y
&&
\
dnf update
-y
&&
dnf
-y
upgrade
&&
\
dnf
install
-y
fontconfig git unzip
--setopt
=
tsflags
=
nodocs
&&
\
dnf
install
-y
fontconfig git unzip
--setopt
=
tsflags
=
nodocs
&&
\
git lfs
install
&&
\
git lfs
install
&&
\
dnf clean all
&&
\
dnf clean all
&&
\
...
@@ -72,4 +72,4 @@ ENTRYPOINT ["/sbin/tini", "--", "/usr/local/bin/jenkins.sh"]
...
@@ -72,4 +72,4 @@ 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/plugins.sh /usr/local/bin/plugins.sh
COPY
scripts/install-plugins.sh /usr/local/bin/install-plugins.sh
COPY
scripts/install-plugins.sh /usr/local/bin/install-plugins.sh
\ No newline at end of file
README.md
View file @
858194c2
# Official Jenkins Docker image
# Official Jenkins Docker image
# Approved for use behind a CNAP/
C
PN. It cannot be internet facing.
# Approved for use behind a CNAP/
V
PN. It cannot be internet facing.
[

](https://hub.docker.com/r/jenkins/jenkins/)
[

](https://hub.docker.com/r/jenkins/jenkins/)
[

](https://hub.docker.com/r/jenkins/jenkins/)
[

](https://hub.docker.com/r/jenkins/jenkins/)
...
@@ -299,4 +299,4 @@ If you wish to contribute fixes to this repository, please refer to the [dedicat
...
@@ -299,4 +299,4 @@ If you wish to contribute fixes to this repository, please refer to the [dedicat
Jump on irc.freenode.net and the #jenkins room. Ask!
Jump on irc.freenode.net and the #jenkins room. Ask!
[
system-property
]:
https://wiki.jenkins.io/display/JENKINS/Features+controlled+by+system+properties
[
system-property
]:
https://wiki.jenkins.io/display/JENKINS/Features+controlled+by+system+properties
\ No newline at end of file
hardening_manifest.yaml
View file @
858194c2
...
@@ -8,7 +8,7 @@ name: "opensource/jenkins/jenkins"
...
@@ -8,7 +8,7 @@ name: "opensource/jenkins/jenkins"
# The most specific version should be the first tag and will be shown
# The most specific version should be the first tag and will be shown
# on ironbank.dsop.io
# on ironbank.dsop.io
tags
:
tags
:
-
"
2.2
63.2
"
-
"
2.2
77.3
"
-
"
latest"
-
"
latest"
# Build args passed to Dockerfile ARGs
# Build args passed to Dockerfile ARGs
...
@@ -27,7 +27,7 @@ labels:
...
@@ -27,7 +27,7 @@ labels:
org.opencontainers.image.url
:
"
https://www.jenkins.io/"
org.opencontainers.image.url
:
"
https://www.jenkins.io/"
## Name of the distributing entity, organization or individual
## Name of the distributing entity, organization or individual
org.opencontainers.image.vendor
:
"
jenkins"
org.opencontainers.image.vendor
:
"
jenkins"
org.opencontainers.image.version
:
"
2.2
63.2
"
org.opencontainers.image.version
:
"
2.2
77.3
"
## Keywords to help with search (ex. "cicd,gitops,golang")
## Keywords to help with search (ex. "cicd,gitops,golang")
mil.dso.ironbank.image.keywords
:
"
cicd"
mil.dso.ironbank.image.keywords
:
"
cicd"
## This value can be "opensource" or "commercial"
## This value can be "opensource" or "commercial"
...
@@ -37,8 +37,8 @@ labels:
...
@@ -37,8 +37,8 @@ labels:
# List of resources to make available to the offline build context
# List of resources to make available to the offline build context
resources
:
resources
:
-
url
:
"
docker://docker.io/jenkins/jenkins@sha256:
84897b3837cb90380da84bf1ac6758ad4babff0301d1fada8ea7a6d911cc68f3
"
-
url
:
"
docker://docker.io/jenkins/jenkins@sha256:
11982a868f9e54f946e830d2327e4be58aadb9c35233461d98ed705dbe0d50af
"
tag
:
"
jenkins/jenkins:2.2
63.2
-centos"
tag
:
"
jenkins/jenkins:2.2
77.3
-centos"
# 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
...
...
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