xxh/xxh-appimage.Dockerfile

14 lines
415 B
Docker
Raw Permalink Normal View History

2021-03-14 11:20:44 +00:00
FROM python:3.8-slim-buster
2021-03-14 12:17:16 +00:00
VOLUME /result
2021-03-14 11:20:44 +00:00
2021-03-14 12:08:48 +00:00
RUN apt update && apt install -y git file gpg && pip install git+https://github.com/niess/python-appimage
2021-03-14 11:20:44 +00:00
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
2021-03-14 12:21:02 +00:00
CMD cp /xxh/xxh-x86_64.AppImage /result && ls -sh1 /result