Commit 2c61f46 1 parent a159262 commit 2c61f46 Copy full SHA for 2c61f46
File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,6 @@ ARG LIBFRANKA_VERSION
9
9
RUN /tmp/common/install-dependencies
10
10
11
11
ARG PYBIN_SUPPORTED_VERSIONS="cp3(7m|8|9|10|11|12)"
12
- # Preserve argument for runtime
13
- ENV PYBIN_SUPPORTED_VERSIONS=${PYBIN_SUPPORTED_VERSIONS}
14
12
RUN /tmp/common/manylinux-setup-pip
15
13
16
14
# Set working directory
@@ -19,9 +17,14 @@ RUN mkdir -p /build
19
17
VOLUME /code
20
18
VOLUME /build
21
19
WORKDIR /build
22
- ADD docker/common/manylinux-build-wheels /usr/bin/manylinux-build-wheels
20
+ ADD docker/common/manylinux-build-wheels /usr/bin/
21
+ ADD docker/common/dependency_versions /usr/bin/
23
22
ADD docker/build/build-wheels /usr/bin/
24
23
ADD docker/build/run-tests /usr/bin/
25
24
26
25
# Cleaning up
27
26
RUN rm -rf /tmp/common
27
+
28
+ # Preserve arguments for runtime
29
+ ENV PYBIN_SUPPORTED_VERSIONS=${PYBIN_SUPPORTED_VERSIONS}
30
+ ENV LIBFRANKA_VERSION=${LIBFRANKA_VERSION}
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
set -e
3
3
4
+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
5
+ . " ${SCRIPT_DIR} /dependency_versions"
6
+
4
7
CODE_DIR=" ${1:- $(pwd)} "
5
8
6
9
# Log python versions
@@ -46,4 +49,5 @@ echo "Built the following wheels:"
46
49
ls dist
47
50
48
51
mkdir -p output
52
+ LIBFRANKA_VERSION=" ${LIBFRANKA_VERSION:- ${LIBFRANKA_DEFAULT_VERSION} } "
49
53
zip -r " output/libfranka_${LIBFRANKA_VERSION// ./ -} _wheels.zip" dist/
You can’t perform that action at this time.
0 commit comments