mirror of
https://github.com/AmigaPorts/docker-amiga-gcc.git
synced 2025-11-19 16:22:32 +00:00
Add some dependencies
This commit is contained in:
7
imagefiles/ccmake.sh
Normal file
7
imagefiles/ccmake.sh
Normal file
@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# Always pass the CMAKE_TOOLCHAIN_FILE variable to CMake when inside a
|
||||
# dockcross environment -- the CMAKE_TOOLCHAIN_FILE environmental variable is
|
||||
# always set in this context
|
||||
|
||||
exec /usr/bin/ccmake -DCMAKE_TOOLCHAIN_FILE:FILEPATH=${CMAKE_TOOLCHAIN_FILE} "$@"
|
||||
22
imagefiles/cmake.sh
Normal file
22
imagefiles/cmake.sh
Normal file
@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
# Always pass the CMAKE_TOOLCHAIN_FILE variable to CMake when inside a
|
||||
# dockcross environment -- the CMAKE_TOOLCHAIN_FILE environmental variable is
|
||||
# always set in this context
|
||||
|
||||
# Exception:
|
||||
#
|
||||
# Do not pass the toolchain when calling CMake with these options:
|
||||
# -E = CMake command mode.
|
||||
# --build <dir> = Build a CMake-generated project binary tree.
|
||||
# --find-package = Run in pkg-config like mode.
|
||||
#
|
||||
case $1 in
|
||||
|
||||
-E|--build|--find-package)
|
||||
exec /usr/bin/cmake "$@"
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
exec /usr/bin/cmake -DCMAKE_TOOLCHAIN_FILE:FILEPATH=${CMAKE_TOOLCHAIN_FILE} "$@"
|
||||
5
imagefiles/entrypoint.sh
Normal file
5
imagefiles/entrypoint.sh
Normal file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# This is the entrypoint script for the dockerfile. Executed in the
|
||||
# container at runtime.
|
||||
|
||||
Reference in New Issue
Block a user