Skip to content

fix(docker): resolve ARCH build-arg for arm64 cross-compilation#27

Open
junlinp wants to merge 5 commits intomainfrom
junlinp/cross_build_image
Open

fix(docker): resolve ARCH build-arg for arm64 cross-compilation#27
junlinp wants to merge 5 commits intomainfrom
junlinp/cross_build_image

Conversation

@junlinp
Copy link
Copy Markdown
Collaborator

@junlinp junlinp commented Mar 25, 2026

No description provided.

@github-actions
Copy link
Copy Markdown

cloc github.com/AlDanial/cloc v 2.04 T=0.12 s (292.2 files/s, 44401.5 lines/s)
Language files blank comment code
Python 12 542 244 3004
C++ 4 60 38 409
Markdown 4 143 6 405
Bourne Shell 10 17 7 163
Dockerfile 1 27 23 160
JSON 2 8 0 57
TOML 1 5 0 52
make 1 18 12 49
CMake 1 4 0 17
-------- -------- -------- -------- --------
SUM: 36 824 330 4316

@github-actions
Copy link
Copy Markdown

cloc github.com/AlDanial/cloc v 2.04 T=0.10 s (366.6 files/s, 55703.7 lines/s)
Language files blank comment code
Python 12 542 244 3004
C++ 4 60 38 409
Markdown 4 143 6 405
Bourne Shell 10 17 7 163
Dockerfile 1 27 23 160
JSON 2 8 0 57
TOML 1 5 0 52
make 1 18 12 49
CMake 1 4 0 17
-------- -------- -------- -------- --------
SUM: 36 824 330 4316

Avoid referencing an undefined PYTHONPATH variable during image build by setting gtsam's python path explicitly, while preserving the later full PYTHONPATH setup.
@github-actions
Copy link
Copy Markdown

cloc github.com/AlDanial/cloc v 2.04 T=0.12 s (293.8 files/s, 44665.0 lines/s)
Language files blank comment code
Python 12 542 244 3004
C++ 4 60 38 409
Markdown 4 143 6 405
Bourne Shell 10 17 7 163
Dockerfile 1 28 24 160
JSON 2 8 0 57
TOML 1 5 0 52
make 1 18 12 49
CMake 1 4 0 17
-------- -------- -------- -------- --------
SUM: 36 825 331 4316

Initialize PYTHONPATH at image start, then append GTSAM's python bindings after building gtsam, and finally append the venv site-packages.
@github-actions
Copy link
Copy Markdown

cloc github.com/AlDanial/cloc v 2.04 T=0.10 s (365.5 files/s, 55546.0 lines/s)
Language files blank comment code
Python 12 542 244 3004
C++ 4 60 38 409
Markdown 4 143 6 405
Bourne Shell 10 17 7 163
Dockerfile 1 27 23 161
JSON 2 8 0 57
TOML 1 5 0 52
make 1 18 12 49
CMake 1 4 0 17
-------- -------- -------- -------- --------
SUM: 36 824 330 4317

@github-actions
Copy link
Copy Markdown

cloc github.com/AlDanial/cloc v 2.04 T=0.12 s (303.0 files/s, 44930.7 lines/s)
Language files blank comment code
Python 12 542 244 3004
C++ 4 60 38 409
Markdown 4 143 6 405
Bourne Shell 11 19 7 175
Dockerfile 1 27 23 162
JSON 2 8 0 57
TOML 1 5 0 52
make 1 18 12 49
CMake 1 4 0 17
-------- -------- -------- -------- --------
SUM: 37 826 330 4330

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant