mirror of
https://github.com/xxh/xxh
synced 2024-11-15 00:37:05 +00:00
14 lines
423 B
Docker
14 lines
423 B
Docker
FROM python:3.8-slim-buster
|
|
VOLUME /result
|
|
|
|
RUN apt update && apt install -y git file gpg && 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 -p 3.8 /xxh/appimage
|
|
CMD cp /xxh/xxh-x86_64.AppImage /result && ls -sh1 /result
|