E
egarcia
Guest
Hello Chris, Here is a possible approach. You can use the builder pattern to limit the layers created for the image. This would result on a container image of about 2.17GB. FROM store/progresssoftware/pasoe:11.7.5 AS builder ENV DLC /psc/dlc WORKDIR /psc/wrk USER root ADD PROGRESS_OPENEDGE_11.7.5.011_LNX_X86_64.tar.gz ${DLC} FROM centos:7 RUN groupadd pscadmin && useradd -g pscadmin pscadmin USER pscadmin COPY --from=builder --chown=pscadmin
scadmin /psc /psc RUN find /psc/dlc/bin -executable -exec chmod 'g+s' '{}' \; The size is still large because the hotfix includes executables and files that are not part of PASOE. In my opinion, I would have started by copying the files that are already used in the image. You could potentially do some few diffs and try/error to remove extra files. For example, any file that you know that is not used by PASOE or at runtime could potentially be removed. I hope this helps.
Continue reading...

Continue reading...