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
ruby
ruby27
Commits
1a909112
Commit
1a909112
authored
Aug 04, 2021
by
thomas.shepherd
Browse files
Merge branch 'development' into 'master'
Merge Development into Master See merge request
!29
parents
73d0c28f
abc1ca3d
Pipeline
#467360
failed with stages
in 27 minutes and 6 seconds
Changes
2
Pipelines
57
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
Dockerfile
Dockerfile
+5
-2
hardening_manifest.yaml
hardening_manifest.yaml
+9
-4
No files found.
Dockerfile
View file @
1a909112
...
...
@@ -30,6 +30,7 @@ RUN dnf update -y \
COPY
--from=builder /usr/local/bin/ /usr/local/bin/
COPY
--from=builder /usr/local/lib/ /usr/local/lib/
COPY
--from=builder /usr/local/include/ /usr/local/include/
COPY
rdoc.gem /
ENV
RUBY_MAJOR=2 \
RUBY_MINOR=7
...
...
@@ -45,10 +46,12 @@ RUN mkdir -p "$GEM_HOME" && \
RUN
useradd
-u
1001
-g
0
-M
-d
/opt/app-root/src default
&&
\
mkdir
-p
/opt/app-root/src
&&
\
chown
-R
1001:0 /opt/app-root
chown
-R
1001:0 /opt/app-root
&&
\
gem
install
/rdoc.gem
&&
\
rm
-f
/rdoc.gem
USER
1001
HEALTHCHECK
NONE
CMD
["irb"]
CMD
["irb"]
\ No newline at end of file
hardening_manifest.yaml
View file @
1a909112
...
...
@@ -8,7 +8,7 @@ name: "opensource/ruby/ruby27"
# The most specific version should be the first tag and will be shown
# on ironbank.dsop.io
tags
:
-
"
2.7.
3
"
-
"
2.7.
4
"
-
"
latest"
# Build args passed to Dockerfile ARGs
...
...
@@ -27,7 +27,7 @@ labels:
org.opencontainers.image.url
:
"
www.ruby-lang.org"
# Name of the distributing entity, organization or individual
org.opencontainers.image.vendor
:
"
Opensource"
org.opencontainers.image.version
:
"
2.7.
3
"
org.opencontainers.image.version
:
"
2.7.
4
"
# Keywords to help with search (ex. "cicd,gitops,golang")
mil.dso.ironbank.image.keywords
:
"
programming,scripting,script,ruby,interpreted"
# This value can be "opensource" or "commercial"
...
...
@@ -38,10 +38,15 @@ labels:
# List of resources to make available to the offline build context
resources
:
-
filename
:
ruby-27.tar.gz
url
:
https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.
3
.tar.gz
url
:
https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.
4
.tar.gz
validation
:
type
:
sha256
value
:
8925a95e31d8f2c81749025a52a544ea1d05dad18794e6828709268b92e55338
value
:
3043099089608859fc8cce7f9fdccaa1f53a462457e3838ec3b25a7d609fbc5b
-
filename
:
rdoc.gem
url
:
https://rubygems.org/downloads/rdoc-6.3.2.gem
validation
:
type
:
sha256
value
:
def4a720235c27d56c176ae73555e647eb04ea58a8bbaa927f8f9f79de7805a6
-
filename
:
gdbm.tar.gz
url
:
http://ftp.gnu.org/gnu/gdbm/gdbm-1.18.1.tar.gz
validation
:
...
...
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