Skip to content

Commit

Permalink
chore: update build setup
Browse files Browse the repository at this point in the history
  • Loading branch information
git-developer committed Oct 3, 2024
1 parent db06449 commit ff8159f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN <<EOR
linux-headers-generic \
python3-dev \
python3-setuptools \
python3-venv \
python-is-python3
for dep in build poetry installer; do
package="python3-${dep}"
Expand All @@ -35,7 +36,8 @@ ARG TARGET=/build
RUN <<EOR
set -eu
python -m build --wheel
python -m installer --destdir="${TARGET}" dist/*.whl
python -m venv .env
.env/bin/pip install --prefix "${TARGET}/usr" dist/*.whl

# Provide input-event-codes.h as fallback for runtime systems without linux headers
cp -a \
Expand Down

0 comments on commit ff8159f

Please sign in to comment.