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
jenkinsfile-runner
Commits
3af8550d
Commit
3af8550d
authored
May 12, 2021
by
Casey Spicer
Browse files
updated dependency tarball
parent
452c12aa
Pipeline
#256774
passed with stages
in 9 minutes and 45 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
Dockerfile
Dockerfile
+7
-2
hardening_manifest.yaml
hardening_manifest.yaml
+1
-1
No files found.
Dockerfile
View file @
3af8550d
...
@@ -19,10 +19,16 @@ ARG gid=1000
...
@@ -19,10 +19,16 @@ ARG gid=1000
COPY
LICENSE /licenses
COPY
LICENSE /licenses
COPY
${TARBALL}.tar.gz /tmp/${TARBALL}.tar.gz
COPY
${TARBALL}.tar.gz /tmp/${TARBALL}.tar.gz
RUN
INSTALL_PKGS
=
"git"
&&
\
yum
-y
update-minimal
--setopt
=
tsflags
=
nodocs
\
--security
&&
\
yum
-y
install
--setopt
=
tsflags
=
nodocs
${
INSTALL_PKGS
}
RUN
cd
/tmp
&&
tar
-xzf
${
TARBALL
}
.tar.gz
\
RUN
cd
/tmp
&&
tar
-xzf
${
TARBALL
}
.tar.gz
\
&&
mkdir
-p
$JENKINS_HOME
$TMP_DIR
/usr/share/jenkins /build
\
&&
mkdir
-p
$JENKINS_HOME
$TMP_DIR
/usr/share/jenkins /build
\
&&
mv
dependencies/ref /usr/share/jenkins/ref
\
&&
mv
dependencies/ref /usr/share/jenkins/ref
\
&&
mv
dependencies/app /app
\
&&
mv
dependencies/app /app
\
&&
rm
-rf
/tmp/
*
\
&&
chown
${
uid
}
:
${
gid
}
$JENKINS_HOME
\
&&
chown
${
uid
}
:
${
gid
}
$JENKINS_HOME
\
&&
chown
${
uid
}
:
${
gid
}
$TMP_DIR
\
&&
chown
${
uid
}
:
${
gid
}
$TMP_DIR
\
&&
chown
${
uid
}
:
${
gid
}
/app
\
&&
chown
${
uid
}
:
${
gid
}
/app
\
...
@@ -32,8 +38,7 @@ RUN cd /tmp && tar -xzf ${TARBALL}.tar.gz \
...
@@ -32,8 +38,7 @@ RUN cd /tmp && tar -xzf ${TARBALL}.tar.gz \
&&
useradd
-d
"
$JENKINS_HOME
"
-d
"
$TMP_DIR
"
-d
/app
-d
/usr/share/jenkins
-u
${
uid
}
-g
${
gid
}
-m
-s
/bin/bash
${
user
}
&&
useradd
-d
"
$JENKINS_HOME
"
-d
"
$TMP_DIR
"
-d
/app
-d
/usr/share/jenkins
-u
${
uid
}
-g
${
gid
}
-m
-s
/bin/bash
${
user
}
RUN
cd
/usr/share/jenkins/ref/plugins
&&
\
RUN
cd
/usr/share/jenkins/ref/plugins
&&
\
rm
-rf
github
*
&&
\
rm
-rf
github
*
rpm
-ivh
--replacepkgs
--replacefiles
/tmp/dependencies/rpms/
*
.rpm
&&
rm
-rf
/tmp/
*
VOLUME
/build
VOLUME
/build
VOLUME
/usr/share/jenkins/ref/casc
VOLUME
/usr/share/jenkins/ref/casc
...
...
hardening_manifest.yaml
View file @
3af8550d
...
@@ -41,7 +41,7 @@ resources:
...
@@ -41,7 +41,7 @@ resources:
url
:
https://github.com/boozallen/sdp-images/releases/download/dcar-1.8/jenkinsfile-runner-dependencies-dcar-1.8.tar.gz
url
:
https://github.com/boozallen/sdp-images/releases/download/dcar-1.8/jenkinsfile-runner-dependencies-dcar-1.8.tar.gz
validation
:
validation
:
type
:
sha256
type
:
sha256
value
:
9f84626c55e6add5e0952829b9cc5de6a993618032b753f355cfe3c0b03db205
value
:
174340489946288569958cab3d5159b0242547b8b0b104652ba0c0b81fb85987
# 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