For the sake of my sanity, just ignore this...
This commit is contained in:
@@ -53,15 +53,39 @@ jobs:
|
||||
docker buildx create --use
|
||||
docker buildx build --platform linux/arm/v7 -t arm-builder --load --file - . <<EOF
|
||||
FROM python:3.11-slim-buster
|
||||
RUN apt-get update && apt-get install -y \
|
||||
build-essential \
|
||||
zlib1g-dev \
|
||||
libncurses5-dev \
|
||||
libgdbm-dev \
|
||||
libnss3-dev \
|
||||
libssl-dev \
|
||||
libreadline-dev \
|
||||
libffi-dev \
|
||||
libsqlite3-dev \
|
||||
tk-dev \
|
||||
x11proto-core-dev \
|
||||
x11proto-xext-dev \
|
||||
x11proto-fonts-dev \
|
||||
x11proto-xfree86-dev \
|
||||
libxrender-dev \
|
||||
libxtst-dev \
|
||||
libxext-dev \
|
||||
libsm-dev \
|
||||
libx11-dev \
|
||||
libgl1-mesa-glx \
|
||||
libgl1-mesa-dri \
|
||||
libgl1-mesa-dev \
|
||||
libglu1-mesa-dev \
|
||||
python3-dev
|
||||
WORKDIR /app
|
||||
COPY requirements.txt /app/requirements.txt
|
||||
COPY app /app/app
|
||||
RUN apt-get update && apt-get install -y python3-dev \
|
||||
&& python -m pip install --upgrade pip \
|
||||
RUN python -m pip install --upgrade pip \
|
||||
&& pip install -r /app/requirements.txt \
|
||||
&& pyinstaller --onefile --add-data "ui:ui" /app/app/wolServer.py
|
||||
EOF
|
||||
|
||||
|
||||
- name: Extract ARM Executable
|
||||
run: |
|
||||
container_id=$(docker create arm-builder)
|
||||
|
||||
Reference in New Issue
Block a user