2021-06-18 22:06:57 +00:00
|
|
|
FROM ubuntu:18.04
|
|
|
|
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
|
|
WORKDIR /deps
|
|
|
|
|
2021-08-29 18:07:19 +00:00
|
|
|
RUN sed -i '/bionic-backports/d' /etc/apt/sources.list
|
|
|
|
|
2021-06-18 22:06:57 +00:00
|
|
|
RUN apt-get update && \
|
2021-08-29 18:07:19 +00:00
|
|
|
apt-get install -y wget xz-utils nano gpg xz-utils ca-certificates
|
2021-06-18 22:06:57 +00:00
|
|
|
|
|
|
|
COPY get-packages.sh .
|
|
|
|
RUN bash get-packages.sh
|
|
|
|
|
|
|
|
RUN apt-get install -y --no-install-recommends --no-install-suggests --reinstall --download-only \
|
|
|
|
# build tools
|
|
|
|
software-properties-common python3 build-essential automake libtool-bin git \
|
|
|
|
# ninja
|
|
|
|
unzip \
|
|
|
|
# GStreamer plugins
|
|
|
|
libjpeg-dev libvpx-dev libvorbis-dev \
|
|
|
|
# fontconfig
|
|
|
|
autopoint gettext gperf libpng-dev \
|
|
|
|
# libxkbcommon
|
|
|
|
bison \
|
|
|
|
# Qt 5.15
|
2021-06-23 21:56:11 +00:00
|
|
|
# https://doc.qt.io/qt-5/linux-requirements.html
|
|
|
|
libx11-dev \
|
|
|
|
libx11-xcb-dev \
|
|
|
|
libxext-dev \
|
|
|
|
libxfixes-dev \
|
|
|
|
libxi-dev \
|
|
|
|
libxrender-dev \
|
|
|
|
libxcb1-dev \
|
|
|
|
libxcb-keysyms1-dev \
|
|
|
|
libxcb-image0-dev \
|
|
|
|
libxcb-icccm4-dev \
|
|
|
|
libxcb-xfixes0-dev \
|
|
|
|
libxcb-render-util0-dev \
|
|
|
|
libxcb-xinerama0-dev \
|
2021-08-29 18:07:19 +00:00
|
|
|
libxcb-randr0-dev \
|
|
|
|
libxcb-sync-dev \
|
2021-06-23 21:56:11 +00:00
|
|
|
libxkbcommon-dev \
|
|
|
|
libxkbcommon-x11-dev \
|
|
|
|
xutils-dev \
|
|
|
|
libxcb-util-dev \
|
|
|
|
libxcb-xinput-dev \
|
2021-06-18 22:06:57 +00:00
|
|
|
# libwallet
|
|
|
|
# libudev.so is included in AppImage
|
|
|
|
libudev1 libudev-dev \
|
|
|
|
# GStreamer
|
|
|
|
gstreamer1.0-plugins-good \
|
|
|
|
libgstreamer1.0-dev \
|
|
|
|
libgstreamer-plugins-base1.0-dev \
|
|
|
|
# git dependency
|
|
|
|
libpsl5
|
2021-08-29 18:07:19 +00:00
|
|
|
|
|
|
|
# Verify packages
|
|
|
|
RUN ln -s /var/cache/apt/archives /archives
|
|
|
|
COPY verify-packages.sh .
|
|
|
|
RUN bash verify-packages.sh
|