You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Docker/base/Dockerfile has build argument of HAMMERDB_VERSION and the build version of it is define by this rather than the checked out github repo tag. If building locally, then this is an approach, or like @sm-shaw indicated that using an explicitly tagged FROM rather than hammerdb:base, or recreate hammerdb:base locally with a buildarg of HAMMERDB_VERSION=v4.something and then build for the desired DBs.
With enforced with automation around releases this should be much more consistent. Github actions like https://github.com/redhat-actions/buildah-build triggered off tag pushes should facilitate this quite easily.
While hammerdb: base is a convenient building point for other containers is it useful as a distributed container? Pushing only derived containers will work and preserve the layering without giving the impression of a purposeful product.
Apart from automation in release and perhaps documenting the how to build a specific version locally, I'm not sure any other repo changes will make this resolvable.
If a build that corresponds to a the codebase is desired, a Dockerfile, like base, except with COPY {localdir} {containerdir} that achieves the same layout as RUN wget ... would facilitate local development, if that is the goal.
Describe the bug
When trying to build old versions of hammerDB for Docker, the current Dockerfiles will still build the latest release.
To Reproduce
Expected behavior
Inside of the container we should see the checkout version of hammerDB
HammerDB Version (please complete the following information):
HammerDB Interface (please complete the following information):
Operating System (please complete the following information):
Additional context
I already brought up this issue in the Q&A:
#769 (reply in thread)
The current workaround is to modify the DockerFile to point to the desired hammerDB version on the docker repository.
The text was updated successfully, but these errors were encountered: