Open michal-josef-spacek opened 2 years ago
This is already fixed by #236
@phracek I don't think that is ok or that's working.
e.g. https://github.com/sclorg/s2i-perl-container/blob/master/5.32/s2i/bin/assemble#L15 https://github.com/sclorg/s2i-perl-container/blob/master/5.32/s2i/bin/assemble#L101 Multiple hardcoded in https://github.com/sclorg/s2i-perl-container/blob/master/5.32/s2i/bin/run Same https://github.com/sclorg/s2i-perl-container/blob/master/5.32/Dockerfile.fedora#L11
And most funny part: https://github.com/sclorg/s2i-perl-container/blob/master/5.32/Dockerfile.fedora#L47
# Copy extra files to the image.
COPY ./root/ /
Which copies ./root/opt/app-root directly to /
I will take a look at this.
Seems there already is some initiative about this: https://github.com/sclorg/s2i-perl-container/pull/288
We need to test and rewrite other Perl versions.
@michal-josef-spacek It looks like this issue is already fixed by #288. Can we close it?
@phracek There are places, which need to rewrite still
@phracek @michal-josef-spacek I volunteered to do this, but I put so low priority on it that it is still not finished. I may reprioritize it a bit.
s2i image has $APP_ROOT environment variable, but in code there are many hardcoded variables