-
Notifications
You must be signed in to change notification settings - Fork 114
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
Container file simplication #569
Conversation
Thank you! I went through the pull request and almost everything works perfectly, except for some minor typos. HammerDB/Docker/mssqls/Dockerfile – “install” is missing HammerDB/Docker/oracle/Dockerfile
OR need to specify the folder "/home/hammerdb/" to download and extract the oracle instantclient
|
on second thoughts, Since HammerDB version is added as an argument variable in base/Dockerfile, it's best to create the WORKDIR directory using that, like below. Therefore, specifying the folder "/home/hammerdb/" to download and extract the oracle instantclient will be better. HammerDB/Docker/base/Dockerfile
HammerDB/Docker/oracle/Dockerfile
|
What do you think about leaving /home/hammerdb as the final location (without a version), so that all releases look the same inside the container? ( |
Having the directory with version would make it explicit to know what HammerDB version is being used. It will inhibit benchmark comparison between different versions of HammerDB. Consistency can achieved by adding a symbolic link for /home/hammerdb -> /home /HammerDB-4.7 and placing all other libraries like Oracle instantclient in /home.
|
ok. Will incorporate and include these changes now. During the build annotations are a way to include version information too: |
To reduce the duplication and minimize the image size, base/Dockerfile was created to capture the common elements of the base image. The database specific files derive from this base image. The top level Dockerfile uses the mssql, the more complicated image as a base, and using multistage images takes the important aspects out of oracle's image, and does the package installs for maria, mysql and postgres. A number of changes in the base image where made: * Apt-sources weren't used so leave them disabled. * apt doesn't provide a stable command line interfaces, so use apt-get * to reduce image size, /var/lib/apt/lists/* is removed * DEBIAN_FRONTEND=noninteractive is an environment variable rather than a build arg.
Many-thanks. Appreciate it. |
Updated the LD_LIBRARY_PATH to point to the new location.
To reduce the duplication and minimize the image size, base/Dockerfile was created to capture the common elements of the base image.
The database specific files derive from this base image.
The top level Dockerfile uses the mssql, the more complicated image as a base, and using multistage images takes the important aspects out of oracle's image, and does the package installs for maria, mysql and postgres.
A number of changes in the base image where made: