Skip to content

Commit 5a8b7c1

Browse files
committed
Set Python path when building the production image
1 parent 955945d commit 5a8b7c1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.jenkins/install_marco.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ cmake \
1313
-G Ninja \
1414
-DCMAKE_LINKER_TYPE=MOLD \
1515
-DCMAKE_BUILD_TYPE=${MARCO_BUILD_TYPE} \
16+
-DPython3_EXECUTABLE=${PYTHON3_EXECUTABLE} \
1617
|| exit 1
1718

1819
cmake --build build --target install || exit 1

.jenkins/prod-image.Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ ARG BASE_IMAGE=marco-compiler/marco-dev-release-debian-12:latest
22
FROM $BASE_IMAGE
33

44
ARG MARCO_COMMIT=master
5+
ARG PYTHON3_EXECUTABLE=/virtualenv/bin/python
56

67
LABEL org.opencontainers.image.source="https://github.com/marco-compiler/marco"
78

0 commit comments

Comments
 (0)