best-practices-badge icon indicating copy to clipboard operation
best-practices-badge copied to clipboard

DO NOT MERGE YET: Bump ruby from 3.0.1 to 3.0.3

Open david-a-wheeler opened this issue 2 years ago • 2 comments

This changes .ruby-version and the dockerfile.

There are still steps to be done. I have not yet managed to post the updated container image. Instead I get this error:

docker build -t drdavidawheeler/cii-bestpractices:3.0.3-browsers .
Sending build context to Docker daemon  3.072kB
Step 1/3 : FROM cimg/ruby@sha256:a900ba3c4c9d2bcfeb333d59135cd85f8d4aab0a6a89273fa5ab796450e3cf07
received unexpected HTTP status: 500 Internal Server Error

Once I post it, the circleci configuration needs to be modified to use the new container image.

Signed-off-by: David A. Wheeler [email protected]

david-a-wheeler avatar Mar 17 '22 23:03 david-a-wheeler

@jdossett & others - I can't seem to create a new Docker image, which is mysterious. I can't find any reason for these 500 errors, which persist. I looked for a new dockerhub policy to agree to, but didn't see anything to agree to. Any ideas?

david-a-wheeler avatar Mar 18 '22 14:03 david-a-wheeler

Running "docker version" on my Ubuntu system says:

Client: Docker Engine - Community
 Version:           20.10.12
 API version:       1.41
 Go version:        go1.16.12
 Git commit:        e91ed57
 Built:             Mon Dec 13 11:45:33 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.12
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.12
  Git commit:       459d0df
  Built:            Mon Dec 13 11:43:42 2021
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.4.13
  GitCommit:        9cc61520f4cd876b86e77edfeb88fbcd536d1f9d
 runc:
  Version:          1.0.3
  GitCommit:        v1.0.3-0-gf46b6ba
 docker-init:
  Version:          0.19.0

david-a-wheeler avatar Mar 18 '22 14:03 david-a-wheeler

Addressed this here for 3.0.4. https://github.com/coreinfrastructure/best-practices-badge/pull/1871/commits/01e3c675d3bccc16c82291340c982f250a6f2cf7

 docker pull cimg/ruby:3.0.4-browsers
3.0.4-browsers: Pulling from cimg/ruby
Digest: sha256:c3777a6241882a4bdc1c63da941f4ae2484fffb3394e827858f68d66c925375f
Status: Image is up to date for cimg/ruby:3.0.4-browsers
docker.io/cimg/ruby:3.0.4-browsers

However the sha in the list from the command given doesn't match so may be the issue

❯ docker images cimg/ruby:3.0.4-browsers
REPOSITORY   TAG              IMAGE ID       CREATED        SIZE
cimg/ruby    3.0.4-browsers   6fc889edfb5e   6 months ago   2GB

andrewfader avatar Nov 06 '22 03:11 andrewfader