forked from AppImageCrafters/appimage-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
26 lines (21 loc) · 1 KB
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM ubuntu:bionic
RUN apt-get update && apt-get -y install python3 python3-setuptools python3-pip wget patchelf fakeroot gnupg2 libglib2.0-bin file \
desktop-file-utils libgdk-pixbuf2.0-dev zsync
ADD AppImageBuilder /opt/appimage-builder/AppImageBuilder
ADD appimage-builder /opt/appimage-builder
ADD appimage-inspector /opt/appimage-builder
ADD appimage-modules /opt/appimage-builder
ADD README.md /opt/appimage-builder
ADD LICENSE /opt/appimage-builder
ADD *.py /opt/appimage-builder
WORKDIR /opt/appimage-builder
RUN python3 ./setup.py install && rm -rf /opt/appimage-builder
WORKDIR /tmp
RUN wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage && \
chmod +x /tmp/appimagetool-x86_64.AppImage && \
cd /opt && /tmp/appimagetool-x86_64.AppImage --appimage-extract && \
mv squashfs-root appimage-tool.AppDir && \
ln -s /opt/appimage-tool.AppDir/AppRun /usr/bin/appimagetool && \
rm /tmp/appimagetool-x86_64.AppImage
WORKDIR /
RUN apt-get -y autoclean