devtoolset-container icon indicating copy to clipboard operation
devtoolset-container copied to clipboard

Duplicate scripts in container

Open hhorak opened this issue 8 years ago • 0 comments

In the Dockerfile, there are these three lines:

COPY ./contrib/ /opt/app-root
ADD contrib/bin/container-entrypoint /usr/bin/container-entrypoint
ADD contrib/bin/usage /usr/local/bin/usage

It means usage and container-entrypoint scripts will be twice in the container, both available in $PATH. It's probably unnecessary, using it on one place should be enough.

https://github.com/sclorg/devtoolset-container/blob/master/4-toolchain/Dockerfile.rhel7#L49

hhorak avatar Feb 14 '17 14:02 hhorak