Skip to content

Build proxysql packages with version tagged docker image #4604

Open
@mirostauder

Description

@mirostauder

docker images proxysql/packaging are being tagged with a version since v2.5.3 release
https://hub.docker.com/r/proxysql/packaging/tags?page=2&page_size=&ordering=&name=2.5.3

Currently (as of v2.6.3) for package building, an image without a version tag is used (the latest), this hurts reproducible builds and leads to issues when building other versions.

Make sure a ProxySQL packages are built with the correct proxysql/packaging image
add a variable IMGVER based on CURVER, to specify the version.

https://github.com/sysown/proxysql/blob/01d1fc9828a5da09896acd2287be48335bbc1ada/Makefile#L38C16-L39C1

e.g.

CURVER=2.6.3
IMGVER=2.6.3

will use proxysql/packaging images tagged with 2.6.3
https://hub.docker.com/r/proxysql/packaging/tags?page=2&page_size=&ordering=&name=2.6.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions