mirror of
https://github.com/xxh/xxh
synced 2024-11-29 23:20:19 +00:00
13 lines
367 B
Docker
13 lines
367 B
Docker
|
FROM python:3.8-slim-buster
|
||
|
|
||
|
RUN apt update && apt install -y git file && pip install git+https://github.com/niess/python-appimage
|
||
|
|
||
|
ADD . /xxh
|
||
|
RUN mkdir -p /result
|
||
|
|
||
|
WORKDIR /xxh/appimage
|
||
|
RUN echo '/xxh' > requirements.txt && cat pre-requirements.txt >> requirements.txt
|
||
|
|
||
|
WORKDIR /xxh
|
||
|
RUN python -m python_appimage build app /xxh/appimage
|
||
|
CMD cp xxh-*.AppImage /result
|