linux-x86: Use linux32 as entrypoint for uname -m output

This commit is contained in:
Matt McCormick 2016-09-24 22:37:00 -04:00
parent 01a3348f15
commit fd2b8efe51
2 changed files with 6 additions and 0 deletions

View File

@ -40,3 +40,6 @@ ENV DEFAULT_DOCKCROSS_IMAGE dockcross/linux-x86
# https://wiki.debian.org/CrossToolchains#In_jessie_.28Debian_8.29 # https://wiki.debian.org/CrossToolchains#In_jessie_.28Debian_8.29
COPY Toolchain.cmake /usr/lib/${CROSS_TRIPLE}/ COPY Toolchain.cmake /usr/lib/${CROSS_TRIPLE}/
ENV CMAKE_TOOLCHAIN_FILE /usr/lib/${CROSS_TRIPLE}/Toolchain.cmake ENV CMAKE_TOOLCHAIN_FILE /usr/lib/${CROSS_TRIPLE}/Toolchain.cmake
COPY linux32-entrypoint.sh /dockcross/
ENTRYPOINT ["/dockcross/linux32-entrypoint.sh"]

View File

@ -0,0 +1,3 @@
#!/bin/sh
linux32 "/dockcross/entrypoint.sh" "$@"