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

Image building proposal #1488

Closed
metanovii opened this issue Nov 13, 2024 · 2 comments
Closed

Image building proposal #1488

metanovii opened this issue Nov 13, 2024 · 2 comments

Comments

@metanovii
Copy link

Hi, I have a question about building images. Is it possible to build images with tags like 1.33.0-php8.3.0 (the minor version is not specified now, which makes it difficult to keep the version up to date)

@thresheek
Copy link
Member

Hello,

Nope, we won't be providing exact minor versions for language runtimes exactly for the reason it's much easier to keep track without issuing new update to Docker Library - the images will get rebuilt when the underlying image changes (e.g. PHP 8.3.0 is updated to 8.3.1).

@callahad
Copy link
Collaborator

callahad commented Nov 18, 2024

If you need a specific version, you can build it locally: Edit the Makefile in pkg/docker/, change the VERSIONS_php variable, and run make dockerfiles to generate a more specifically versioned Dockerfile.

You can then build an image from that with, e.g., make build-php8.3.0 (which is just a shortcut for docker build --pull --no-cache -t unit:1.33.0-php8.3.0 -f Dockerfile.php8.3.0)

@callahad callahad closed this as not planned Won't fix, can't repro, duplicate, stale Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants