UNCLASSIFIED

Commit 0fa46bf7 authored by Joshua Eason's avatar Joshua Eason
Browse files

Merge branch 'jeason' into 'development'

Resolving GEM installation issues

See merge request !6
parents 92edd0a8 e5698e07
Pipeline #11644 passed with stage
......@@ -16,21 +16,17 @@ LABEL name="Ruby" \
USER 0
COPY ruby-27.tar.gz /
RUN dnf install -y autoconf make gcc cpp openssl-devel zlib-devel && \
mkdir -p /usr/src/ruby && \
tar -xzf ruby-27.tar.gz -C /usr/src/ && \
rm -f ruby-27.tar.gz && \
ls /usr/src && \
cd /usr/src/ruby-2.7.1 && \
echo hi && \
./configure --disable-install-doc --enable-shared && \
make -j "$(nproc)" && \
make install && \
cd / && \
rm -rf /usr/src/ruby-2.7.1 && \
dnf erase -y autoconf make openssl-devel zlib-devel && \
COPY ruby-27.tar.gz gdbm.tar.gz scripts/*.sh /
RUN dnf install -y --setopt=tsflags=nodocs \
# These packages are required for building Ruby and Ruby Gems
gcc-c++ patch readline zlib zlib-devel libffi-devel libedit \
openssl-devel make bzip2 autoconf automake libtool sqlite-devel && \
# End required packages
chmod +x /install-ruby.sh /install-gdbm.sh && \
/install-gdbm.sh && \
/install-ruby.sh && \
rm -f /install-ruby.sh /install-gdbm.sh && \
dnf clean all && \
rm -rf /var/cache/dnf/ /var/tmp/* /tmp/* /var/tmp/.???* /tmp/.???*
......
@Library('DCCSCR@master') _
dccscrPipeline(version: "2.7")
dccscrPipeline(version: "2.7.1")
......@@ -4,4 +4,9 @@ resources:
filename: ruby-27.tar.gz
validation:
type: sha256
value: d418483bdd0000576c1370571121a6eb24582116db0b7bb2005e90e250eae418
\ No newline at end of file
value: d418483bdd0000576c1370571121a6eb24582116db0b7bb2005e90e250eae418
- 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
#!/bin/sh
set -e
mkdir -p /usr/src
tar -xzf gdbm.tar.gz -C /usr/src/
rm -f gdbm.tar.gz
cd /usr/src/gdbm-1.18.1
./configure
make -j "$(nproc)"
make install
rm -rf /usr/src/gdbm-1.18.1
\ No newline at end of file
#!/bin/sh
set -e
mkdir -p /usr/src
tar -xzf ruby-27.tar.gz -C /usr/src/
rm -f ruby-27.tar.gz
cd /usr/src/ruby-2.7.1
./configure --disable-install-doc --enable-shared
make -j "$(nproc)"
make install
rm -rf /usr/src/ruby-2.7.1
\ No newline at end of file
  • Pipeline Status: SUCCESS
    Branch: development

    graph LR
      0([setup]):::INTERNAL_SUCCESS --> 1([Import Artifacts]):::SUCCESS --> 2((/)):::INTERNAL_SUCCESS --> 3([Stage Artifacts]):::SUCCESS --> 4((/)):::INTERNAL_SUCCESS --> 5([Build]):::SUCCESS --> 6([Publish, Scan & Report]):::INTERNAL_NOT_BUILT
    
    classDef SUCCESS font-size:10px
    classDef FAILURE fill:#f44, font-size:10px
    classDef SKIPPED font-size:10px
    classDef ABORTED fill:#889, font-size:10px
    classDef INTERNAL_SUCCESS font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_FAILURE fill:#f44, font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_SKIPPED font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_ABORTED fill:#889, font-size:10px, stroke-dasharray: 2, 1
    
  • Pipeline Status: SUCCESS
    Branch: development

    graph LR
      0([setup]):::INTERNAL_SUCCESS --> 1([Import Artifacts]):::SUCCESS --> 2((/)):::INTERNAL_SUCCESS --> 3([Stage Artifacts]):::SUCCESS --> 4((/)):::INTERNAL_SUCCESS --> 5([Build]):::SUCCESS --> 6([Publish, Scan & Report]):::INTERNAL_NOT_BUILT
    
    classDef SUCCESS font-size:10px
    classDef FAILURE fill:#f44, font-size:10px
    classDef SKIPPED font-size:10px
    classDef ABORTED fill:#889, font-size:10px
    classDef INTERNAL_SUCCESS font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_FAILURE fill:#f44, font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_SKIPPED font-size:10px, stroke-dasharray: 2, 1
    classDef INTERNAL_ABORTED fill:#889, font-size:10px, stroke-dasharray: 2, 1
    
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment