File tree Expand file tree Collapse file tree 1 file changed +25
-14
lines changed
Expand file tree Collapse file tree 1 file changed +25
-14
lines changed Original file line number Diff line number Diff line change 11FROM ubuntu:20.04
22ENV DEBIAN_FRONTEND=noninteractive
33
4- RUN apt-get update && apt-get -yq install python3 python3-setuptools python3-pip wget fakeroot gnupg2 libglib2.0-bin file \
5- desktop-file-utils libgdk-pixbuf2.0-dev librsvg2-dev libyaml-dev zsync gtk-update-icon-cache strace elfutils
6-
7- ADD . /opt/appimage-builder
8-
9- WORKDIR /opt/appimage-builder
10- RUN python3 ./setup.py install && rm -rf /opt/appimage-builder
11-
12- RUN wget https://github.com/AppImage/AppImageKit/releases/download/13/appimagetool-x86_64.AppImage -O /opt/appimagetool \
13- && chmod +x /opt/appimagetool \
14- && cd /opt/; sed -i 's|AI\x 02|\x 00\x 00\x 00|' appimagetool; /opt/appimagetool --appimage-extract \
15- && mv /opt/squashfs-root /opt/appimagetool.AppDir \
16- && ln -s /opt/appimagetool.AppDir/AppRun /usr/local/bin/appimagetool
4+ RUN apt-get update && \
5+ apt-get -yq install \
6+ breeze-icon-theme \
7+ desktop-file-utils \
8+ elfutils \
9+ fakeroot \
10+ file \
11+ git \
12+ gnupg2 \
13+ gtk-update-icon-cache \
14+ libgdk-pixbuf2.0-dev \
15+ libglib2.0-bin \
16+ librsvg2-dev \
17+ libyaml-dev \
18+ python3 \
19+ python3-pip \
20+ python3-setuptools \
21+ strace \
22+ wget \
23+ zsync && \
24+ apt-get -yq autoclean
1725
1826WORKDIR /tmp
1927RUN wget https://github.com/NixOS/patchelf/releases/download/0.12/patchelf-0.12.tar.bz2; \
@@ -22,5 +30,8 @@ RUN wget https://github.com/NixOS/patchelf/releases/download/0.12/patchelf-0.12.
2230 ./configure && make && make install; \
2331 rm -rf patchelf-*
2432
33+ ADD . /opt/appimage-builder
34+ RUN python3 -m pip install /opt/appimage-builder
35+ RUN rm -rf /opt/appimage-builder
36+
2537WORKDIR /
26- RUN apt-get -yq autoclean
You can’t perform that action at this time.
0 commit comments