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

Is it possible to build an image that includes specific APAR(s) #573

Open
bony-cas opened this issue Jul 31, 2024 · 2 comments
Open

Is it possible to build an image that includes specific APAR(s) #573

bony-cas opened this issue Jul 31, 2024 · 2 comments

Comments

@bony-cas
Copy link

Apologies if this has been asked before, but I can't find anything when I search the issues...
Is it possible to build an image that includes one or more specific APAR's? The MQ estate we manage runs on different platforms e.g. appliance, container, software. Periodically we have to request a custom LTS release with one or more APAR's included, which IBM is able to provide for appliance \ software. I am unsure how, or even if, we could do the same for a container image using the uninstalled .tar.gz package.

@arthurbarr
Copy link
Member

If you get a full no-install package (e.g. for a fix release), then you can just build the container as normal with the replacement package. If you have an interim fix with just one or two patched files, then you can create a new Containerfile/Dockerfile to add an image layer on top of an existing image. For example:

FROM mymq:9.3.0.2-r1
COPY patched.dat /opt/mqm/bin/patched.dat

The file "patched.dat" is just an example here, but the resulting image would overwrite any files you needed. Just be mindful of file permissions, as you want to make sure that the "root" group (GID 0) has the correct permissions on the new file. You can see how this is managed in the Dockerfile-server from this repo.

@bony-cas
Copy link
Author

bony-cas commented Aug 6, 2024

Thanks @arthurbarr , I will give that a try.

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

2 participants