-
-
Notifications
You must be signed in to change notification settings - Fork 58
/
Dockerfile
38 lines (34 loc) · 921 Bytes
/
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
27
28
29
30
31
32
33
34
35
36
37
38
FROM ubuntu:20.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && \
apt-get -yq install \
breeze-icon-theme \
desktop-file-utils \
elfutils \
fakeroot \
file \
git \
gnupg2 \
gtk-update-icon-cache \
libgdk-pixbuf2.0-dev \
libglib2.0-bin \
librsvg2-dev \
libyaml-dev \
python3 \
python3-pip \
python3-setuptools \
strace \
wget \
squashfs-tools \
zsync && \
apt-get -yq autoclean
WORKDIR /tmp
RUN wget https://github.com/NixOS/patchelf/releases/download/0.12/patchelf-0.12.tar.bz2; \
tar -xvf patchelf-0.12.tar.bz2; \
cd patchelf-0.12.20200827.8d3a16e; \
./configure && make && make install; \
rm -rf patchelf-*
ADD . /opt/appimage-builder
RUN python3 -m pip install /opt/appimage-builder
RUN rm -rf /opt/appimage-builder
WORKDIR /