diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-01-31 14:12:13 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2019-01-31 14:12:13 -0500 |
commit | 11f358cafab2da28692fdaa837dfbcc3cc163736 (patch) | |
tree | 9ed443d35c71e4c27a2803733c41d3e8a2322a73 /etc/tasks/002-python-packages.sh | |
parent | 73a53c48901e120a06d221c8cb4f02076e3b9888 (diff) | |
download | docker-python-11f358cafab2da28692fdaa837dfbcc3cc163736.tar.gz |
Refactor all
Diffstat (limited to 'etc/tasks/002-python-packages.sh')
-rwxr-xr-x | etc/tasks/002-python-packages.sh | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/etc/tasks/002-python-packages.sh b/etc/tasks/002-python-packages.sh index 9218a8e..bcd0b6f 100755 --- a/etc/tasks/002-python-packages.sh +++ b/etc/tasks/002-python-packages.sh @@ -1,16 +1,9 @@ #!/bin/bash set -x -# Uses GLOBAL environment variable: PYTHON_VERSION defined by `docker build` argument -prefix="${TOOLCHAIN}" sysconfdir="${TOOLCHAIN_BUILD}/etc" reqdir=${sysconfdir}/pip -export PATH="${prefix}/bin:${PATH}" -export PKG_CONFIG_PATH="${prefix}/lib/pkgconfig" -export CFLAGS="-I${prefix}/include" -export LDFLAGS="-L${prefix}/lib -Wl,-rpath=${prefix}/lib" - function pre() { if [[ ! -d ${reqdir} ]]; then |