Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump up images #6

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 25 additions & 29 deletions list_of_images_to_optimize.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,25 @@
from image_class import Image

images_to_optimize = [
Image("alpine:3.15.3", ["sh", "-c", "echo hello world"]),
Image("nixos/nix:2.3.12", ["sh", "-c", "echo hello world"]),
Image("fedora:35", ["sh", "-c", "echo hello world"]),
Image("rethinkdb:2.4.1"),
Image("alpine:3.20.3", ["sh", "-c", "echo hello world"]),
Image("nixos/nix:2.25.3", ["sh", "-c", "echo hello world"]),
Image("fedora:41", ["sh", "-c", "echo hello world"]),
Image("rethinkdb:2.4.3"),
# doesn't work:
# Error: failed to copy image: PUT https://index.docker.io/v2/.../glassfish/manifests/4.1-jdk8-org:
# DENIED: unknown manifest class for application/octet-stream
# Image("glassfish:4.1-jdk8"),
Image("drupal:9.3.9"),
Image("jenkins:2.60.3"),
Image("redis:6.2.6"),
Image("tomcat:10.1.0-jdk17-openjdk-bullseye"),
Image("postgres:14.2", env={"POSTGRES_PASSWORD": "abc"}),
Image("mariadb:10.7.3", env={"MYSQL_ROOT_PASSWORD": "abc"}),
Image("wordpress:5.9.2"),
Image("fluent/fluentd:v1.14-1"),
Image("fluent/fluentd:v1.14-arm64-debian"),
Image("php:8.1.4-apache-bullseye"),
Image("drupal:11.0.9"),
Image("jenkins/jenkins:2.487"),
Image("redis:7.4.1"),
# FIXME
# Image("tomcat:10.1-jdk21-temurin-noble"),
Image("postgres:17.2", env={"POSTGRES_PASSWORD": "abc"}),
Image("mariadb:11.6.2", env={"MYSQL_ROOT_PASSWORD": "abc"}),
Image("wordpress:6.7.1"),
Image("fluent/fluentd:v1.18-1"),
Image("fluent/fluentd:v1.18-debian-arm64-1"),
Image("php:8.1.31-apache-bookworm"),
# FIXME: Device or resource busy
# Image(
# "elasticsearch:8.1.1",
Expand All @@ -42,24 +43,19 @@
# )
# ],
# ),
Image("php:8.1.4", ["php", "-r", 'echo "hello world\\n";']),
Image("php:8.1.31", ["php", "-r", 'echo "hello world\\n";']),
Image(
"gcc:11.2.0",
"gcc:14.2.0",
["sh", "-c", "cd /src; gcc -o /a.out main.c; /a.out; exit\n"],
mount=[("mounts/gcc", "/src")],
),
Image('golang:1.18', ["sh", "-c", 'cd /go/src; go run main.go; exit\n'], mount=[('mounts/go', '/go/src')]),
Image("jruby:9.3.4", ["jruby", "-e", "puts 'hello'; exit\n"]),
Image("r-base:4.1.3", ["R", "--no-save", "-e", 'sprintf("hello")']),
Image("perl:5.34.1", ['perl', "-e", 'print("hello")']),
Image('golang:1.23', ["sh", "-c", 'cd /go/src; go run main.go; exit\n'], mount=[('mounts/go', '/go/src')]),
Image("jruby:9.4.9", ["jruby", "-e", "puts 'hello'; exit\n"]),
Image("r-base:4.4.2", ["R", "--no-save", "-e", 'sprintf("hello")']),
Image("perl:5.40.0", ['perl', "-e", 'print("hello")']),
# python images
Image("python:3.7-slim", ["python", "-c", "print('hello world')"]),
Image("python:3.7", ["python", "-c", "print('hello world')"]),
Image("python:3.8", ["python", "-c", "print('hello world')"]),
Image("python:3.9", ["python", "-c", "print('hello world')"]),
Image("python:3.10", ["python", "-c", "print('hello world')"]),
Image("python:3.10-slim", ["python", "-c", "print('hello world')"]),
Image("python:3.11.0rc2", ["python", "-c", "print('hello world')"]),
Image("pypy:3.9", ["pypy3", "-c", "print('hello world')"]),
Image("node:17.8.0", ["node", "-e", 'console.log("hello")'])
Image("python:3.13-slim", ["python", "-c", "print('hello world')"]),
Image("python:3.13", ["python", "-c", "print('hello world')"]),
Image("pypy:3.10", ["pypy3", "-c", "print('hello world')"]),
Image("node:23.3.0", ["node", "-e", 'console.log("hello")'])
]
Loading