1
0
Fork 0
mirror of https://github.com/kbumsik/VirtScreen.git synced 2025-03-09 15:40:18 +00:00

\#11: Initial AppImage packaging system

This commit is contained in:
Bumsik Kim 2018-06-24 17:30:52 -04:00
parent aba7c949b5
commit a40ea8ec29
No known key found for this signature in database
GPG key ID: E31041C8EC5B01C6
6 changed files with 90 additions and 19 deletions

View file

@ -2,11 +2,8 @@
FROM ubuntu:bionic
LABEL author="Bumsik Kim <k.bumsik@gmail.com>"
WORKDIR /app
CMD ["/bin/bash"]
RUN apt-get update && \
apt-get install -y python3-all python3-pip python3-wheel fakeroot debmake debhelper fakeroot wget tar && \
apt-get install -y python3-all python3-pip python3-wheel fakeroot debmake debhelper fakeroot wget tar curl && \
apt-get autoremove -y && \
ln /usr/bin/python3 /usr/bin/python && \
ln /usr/bin/pip3 /usr/bin/pip && \
@ -18,3 +15,15 @@ RUN apt-get update && \
RUN wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O ~/miniconda.sh && \
bash ~/miniconda.sh -b -p ~/miniconda && \
rm ~/miniconda.sh
# AppImageKit
WORKDIR /opt
RUN wget https://github.com/AppImage/AppImageKit/releases/download/10/appimagetool-x86_64.AppImage && \
chmod a+x appimagetool-x86_64.AppImage && \
./appimagetool-x86_64.AppImage --appimage-extract && \
mv squashfs-root appimagetool && \
rm appimagetool-x86_64.AppImage
ENV PATH=/opt/appimagetool/usr/bin:$PATH
WORKDIR /app
CMD ["/bin/bash"]