uclibs / ucrate

Scholar@UC: University of Cincinnati's self-submission institutional repository
https://scholar.uc.edu
Other
5 stars 3 forks source link

Upgrade to ruby-2.7.8 #1066

Closed scherztc closed 9 months ago

scherztc commented 9 months ago

Fixes #1063

Present short summary (50 characters or less)

Description can have multiple paragraphs and you can use code examples inside:

Might need rbenv update.

Changes proposed in this pull request:

scherztc commented 9 months ago

bundle update --bundler

crowesn commented 9 months ago

Docker fails to build

crowesn@Librarys-MacBook-Pro-2 ucrate % docker build -t scholar .
[+] Building 122.2s (7/17)                                                      
 => [internal] load build definition from Dockerfile                       0.0s
 => => transferring dockerfile: 2.29kB                                     0.0s
 => [internal] load .dockerignore                                          0.0s
 => => transferring context: 2B                                            0.0s
 => [internal] load metadata for docker.io/library/ruby:2.7.8              2.0s
 => [ 1/14] FROM docker.io/library/ruby:2.7.8@sha256:2347de892e419c7160f  32.9s
 => => resolve docker.io/library/ruby:2.7.8@sha256:2347de892e419c7160fc21  0.0s
 => => sha256:3cb86b8c626861ba5167462228a0035db6b2deae893 6.96kB / 6.96kB  0.0s
 => => sha256:5d79063a01c561833dc6546d4e647fda0121a59e1 15.76MB / 15.76MB  6.3s
 => => sha256:4eedd9c5abf7e5f63753a5e788cb0872a715fa11 54.58MB / 54.58MB  12.2s
 => => sha256:2347de892e419c7160fc21dec721d5952736909f8c3 1.86kB / 1.86kB  0.0s
 => => sha256:f4420f957a9b4fae91a8d8c7fab8ba43e5a76bd640c 1.79kB / 1.79kB  0.0s
 => => sha256:918547b9432687b1e1d238e82dc1e0ea0b736aafb 55.05MB / 55.05MB  5.8s
 => => sha256:9cdadd40055fb82fef74a0a38f29fb1ee7b692 196.85MB / 196.85MB  21.6s
 => => extracting sha256:918547b9432687b1e1d238e82dc1e0ea0b736aafbf3c402e  4.8s
 => => sha256:199731bb298672a6e76a243fa683e612e3212d372488cf8 200B / 200B  6.6s
 => => sha256:b293c0d80a1fc02a3b8c65f1cd4f89b40fdeff8c 14.55MB / 14.55MB  12.5s
 => => extracting sha256:5d79063a01c561833dc6546d4e647fda0121a59e1a9a1787  1.0s
 => => sha256:4435ded53ef02c7fce73c1aa6d82844922b923717e0e27 176B / 176B  12.5s
 => => extracting sha256:4eedd9c5abf7e5f63753a5e788cb0872a715fa1141e8ce5e  6.0s
 => => extracting sha256:9cdadd40055fb82fef74a0a38f29fb1ee7b6922e18370eb  10.0s
 => => extracting sha256:199731bb298672a6e76a243fa683e612e3212d372488cf80  0.0s
 => => extracting sha256:b293c0d80a1fc02a3b8c65f1cd4f89b40fdeff8c8fad6d05  0.7s
 => => extracting sha256:4435ded53ef02c7fce73c1aa6d82844922b923717e0e27ef  0.0s
 => [ 2/14] RUN useradd -ms /bin/bash dev                                  0.5s
 => [ 3/14] RUN echo dev:password | chpasswd && usermod -aG sudo dev       0.3s
 => ERROR [ 4/14] RUN curl -sL https://deb.nodesource.com/setup_9.x | ba  86.3s
------
 > [ 4/14] RUN curl -sL https://deb.nodesource.com/setup_9.x | bash - &&   curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&   echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list:
#6 0.681 
#6 0.681 ================================================================================
#6 0.681 ================================================================================
#6 0.681 
#6 0.681                               DEPRECATION WARNING                            
#6 0.681 
#6 0.681   Node.js 9.x is no longer actively supported!
#6 0.681 
#6 0.681   You will not receive security or critical stability updates for this version.
#6 0.681 
#6 0.681   You should migrate to a supported version of Node.js as soon as possible.
#6 0.681   Use the installation script that corresponds to the version of Node.js you
#6 0.683   wish to install. e.g.
#6 0.683 
#6 0.683    * https://deb.nodesource.com/setup_16.x — Node.js 16 "Gallium"
#6 0.683    * https://deb.nodesource.com/setup_18.x — Node.js 18 LTS "Hydrogen" (recommended)
#6 0.683    * https://deb.nodesource.com/setup_19.x — Node.js 19 "Nineteen"
#6 0.683    * https://deb.nodesource.com/setup_20.x — Node.js 20 "Iron" (current)
#6 0.683 
#6 0.683   Please see https://github.com/nodejs/Release for details about which
#6 0.683   version may be appropriate for you.
#6 0.683 
#6 0.683   The NodeSource Node.js distributions repository contains
#6 0.683   information both about supported versions of Node.js and supported Linux
#6 0.683   distributions. To learn more about usage, see the repository:
#6 0.683     https://github.com/nodesource/distributions
#6 0.683 
#6 0.683 ================================================================================
#6 0.683 ================================================================================
#6 0.683 
#6 0.683 Continuing in 20 seconds ...
#6 0.683 
#6 20.67 
#6 20.67 ================================================================================
#6 20.67 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
#6 20.67 ================================================================================
#6 20.67 
#6 20.67                            SCRIPT DEPRECATION WARNING                    
#6 20.67 
#6 20.67   
#6 20.67   This script, located at https://deb.nodesource.com/setup_X, used to
#6 20.67   install Node.js is deprecated now and will eventually be made inactive.
#6 20.67 
#6 20.67   Please visit the NodeSource distributions Github and follow the
#6 20.67   instructions to migrate your repo.
#6 20.67   https://github.com/nodesource/distributions
#6 20.67 
#6 20.67   The NodeSource Node.js Linux distributions GitHub repository contains
#6 20.67   information about which versions of Node.js and which Linux distributions
#6 20.67   are supported and how to install it.
#6 20.67   https://github.com/nodesource/distributions
#6 20.67 
#6 20.67 
#6 20.67                           SCRIPT DEPRECATION WARNING
#6 20.67 
#6 20.67 ================================================================================
#6 20.67 ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
#6 20.67 ================================================================================
#6 20.67 
#6 20.67 TO AVOID THIS WAIT MIGRATE THE SCRIPT
#6 20.67 Continuing in 60 seconds (press Ctrl-C to abort) ...
#6 20.67 
#6 80.63 
#6 80.63 ## Installing the NodeSource Node.js 9.x repo...
#6 80.63 
#6 80.64 
#6 80.64 ## Populating apt-get cache...
#6 80.64 
#6 80.64 + apt-get update
#6 80.91 Get:1 http://deb.debian.org/debian bullseye InRelease [116 kB]
#6 81.01 Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
#6 81.06 Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
#6 81.19 Get:4 http://deb.debian.org/debian bullseye/main amd64 Packages [8062 kB]
#6 81.84 Get:5 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [256 kB]
#6 81.86 Get:6 http://deb.debian.org/debian bullseye-updates/main amd64 Packages [17.4 kB]
#6 82.96 Fetched 8544 kB in 2s (3815 kB/s)
#6 82.96 Reading package lists...
#6 83.73 
#6 83.73 ## Installing packages required for setup: lsb-release...
#6 83.73 
#6 83.73 + apt-get install -y lsb-release > /dev/null 2>&1
#6 85.99 
#6 85.99 ## Confirming "bullseye" is supported...
#6 85.99 
#6 85.99 + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_9.x/dists/bullseye/Release'
#6 86.26 
#6 86.26 ## Your distribution, identified as "bullseye", is not currently supported, please contact NodeSource at https://github.com/nodesource/distributions/issues if you think this is incorrect or would like your distribution to be considered for support
#6 86.26 
------
executor failed running [/bin/sh -c curl -sL https://deb.nodesource.com/setup_9.x | bash - &&   curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - &&   echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list]: exit code: 1