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
6cd349e9
Commit
6cd349e9
authored
Oct 21, 2020
by
Vickie Shen
Browse files
minor version upgrade
parent
f46f493e
Pipeline
#58807
passed with stages
in 17 minutes and 6 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
12 deletions
+12
-12
Dockerfile
Dockerfile
+7
-7
Jenkinsfile
Jenkinsfile
+1
-1
README.md
README.md
+1
-1
download.yaml
download.yaml
+3
-3
No files found.
Dockerfile
View file @
6cd349e9
######################## Base Args ########################
ARG
BASE_REGISTRY=
nexus-docker-secure.levelup-dev
.io
ARG
BASE_IMAGE=redhat/ubi/ubi8
ARG
BASE_REGISTRY=
registry1.dsop
.io
ARG
BASE_IMAGE=
ironbank/
redhat/ubi/ubi8
ARG
BASE_TAG=8.2
ARG
UBI_BASE_IMAGE=${BASE_REGISTRY}/${BASE_IMAGE}:${BASE_TAG}
...
...
@@ -12,7 +12,7 @@ LABEL name="Ruby" \
vendor="OpenSource" \
summary="Ruby (Red Hat UBI)" \
maintainer="OpenSource" \
version="2.7"
version="2.7
.2
"
USER
0
...
...
@@ -26,13 +26,13 @@ RUN dnf install -y --setopt=tsflags=nodocs $PACKAGES \
&&
/install-gdbm.sh
\
&&
/install-ruby.sh
\
&&
rm
-f
/install-ruby.sh /install-gdbm.sh
\
&&
rm
-rf
/var/cache/dnf/ /var/tmp/
*
/tmp/
*
/var/tmp/.???
*
/tmp/.???
*
&&
rm
-rf
/var/cache/dnf/ /var/tmp/
*
/tmp/
*
/var/tmp/.???
*
/tmp/.???
*
FROM
${UBI_BASE_IMAGE}
RUN
dnf update
-y
\
&&
dnf clean all
\
&&
rm
-rf
/var/cache/dnf/ /var/tmp/
*
/tmp/
*
/var/tmp/.???
*
/tmp/.???
*
&&
rm
-rf
/var/cache/dnf/ /var/tmp/
*
/tmp/
*
/var/tmp/.???
*
/tmp/.???
*
COPY
--from=builder /usr/local/bin/ /usr/local/bin/
COPY
--from=builder /usr/local/lib/ /usr/local/lib/
...
...
@@ -47,7 +47,7 @@ ENV BUNDLE_SILENCE_ROOT_WARNING=1 \
BUNDLE_APP_CONFIG="$GEM_HOME"
ENV
PATH $HOME/bin:$GEM_HOME/bin:$PATH
RUN
mkdir
-p
"
$GEM_HOME
"
&&
\
RUN
mkdir
-p
"
$GEM_HOME
"
&&
\
chmod
755
"
$GEM_HOME
"
&&
\
chown
-R
1001:0
"
$GEM_HOME
"
...
...
@@ -57,4 +57,4 @@ RUN useradd -u 1001 -g 0 -M -d /opt/app-root/src default && \
USER
1001
CMD
["irb"]
\ No newline at end of file
CMD
["irb"]
Jenkinsfile
View file @
6cd349e9
@Library
(
'DCCSCR@master'
)
_
dccscrPipeline
(
version:
"2.7.
1
"
)
dccscrPipeline
(
version:
"2.7.
2
"
)
README.md
View file @
6cd349e9
...
...
@@ -21,4 +21,4 @@ Documentation for this version of Ruby can be found [here](https://docs.ruby-lan
This applicaiton is based on the following:
-
https://hub.docker.com/_/ruby
-
https://github.com/docker-library/ruby
\ No newline at end of file
-
https://github.com/docker-library/ruby
download.yaml
View file @
6cd349e9
---
resources
:
-
url
:
https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.
1
.tar.gz
-
url
:
https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.
2
.tar.gz
filename
:
ruby-27.tar.gz
validation
:
type
:
sha256
value
:
d418483bdd0000576c1370571121a6eb24582116db0b7bb2005e90e250eae418
value
:
6e5706d0d4ee4e1e2f883db9d768586b4d06567debea353c796ec45e8321c3d4
-
url
:
http://ftp.gnu.org/gnu/gdbm/gdbm-1.18.1.tar.gz
filename
:
gdbm.tar.gz
validation
:
type
:
sha256
value
:
86e613527e5dba544e73208f42b78b7c022d4fa5a6d5498bf18c8d6f745b91dc
\ No newline at end of file
value
:
86e613527e5dba544e73208f42b78b7c022d4fa5a6d5498bf18c8d6f745b91dc
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