Building previous HammerDB versions in Docker #769
-
Hello! So I'm currently trying to run HammerDB in docker, but I'm supposed to be using version 4.11. The steps I'm taking are, cloning the repo, checking out version "v4.11-docker", going to the docker folder and then building it. But when I run the container in bash, it says I'm using version 4.12? Is this expected behavior? I'm I doing something wrong? Please let me know! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
I've tested and can reproduce, it appears to be this line that pulls the latest base: As a workaround, if you edit the Dockerfiles, so the main one has the first 2 lines as:
and in the database specific directories it has this
|
Beta Was this translation helpful? Give feedback.
-
This got it working! Should I raise an issue about this? |
Beta Was this translation helpful? Give feedback.
I've tested and can reproduce, it appears to be this line that pulls the latest base:
=> [internal] load metadata for docker.io/tpcorg/hammerdb:base
As a workaround, if you edit the Dockerfiles, so the main one has the first 2 lines as:
and in the database specific directories it has this
FROM docker.io/tpcorg/hammerdb:v4.11
rather thanhammerdb:base
then in my testing, it correctly builds HammerDB v4.11 with all the libraries installed.