common.*: Optimize image size introducing "install-gosu-binary.sh" script

Script was copied from https://github.com/dockbuild/dockbuild
This commit is contained in:
Jean-Christophe Fillion-Robin
2018-06-05 01:01:18 -04:00
parent bd811da018
commit 4dce58cfec
4 changed files with 52 additions and 26 deletions

View File

@ -38,7 +38,6 @@ RUN \
COPY imagefiles/cmake.sh /usr/local/bin/cmake
COPY imagefiles/ccmake.sh /usr/local/bin/ccmake
# /opt/rh/devtoolset-2/root/usr/bin/sudo expects sudo at this location
COPY imagefiles/sudo.sh /usr/bin/sudo
COPY imagefiles/build-and-install-ninja.sh /dockcross/