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:
parent
aba7c949b5
commit
a40ea8ec29
6 changed files with 90 additions and 19 deletions
17
Dockerfile
17
Dockerfile
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue