Skip to content

Instantly share code, notes, and snippets.

@ratijas
Created June 17, 2020 10:05
Show Gist options
  • Save ratijas/f62ac36768d72d3a925ebfe114b0cd15 to your computer and use it in GitHub Desktop.
Save ratijas/f62ac36768d72d3a925ebfe114b0cd15 to your computer and use it in GitHub Desktop.
FROM ubuntu:trusty
RUN apt-get update && apt-get install -y \
libglib2.0-0 \
wget \
&& rm -rf /var/lib/apt/lists/*
RUN wget https://raw.githubusercontent.com/J-Rios/BASH-Scripts/master/install/install_qt5 \
&& chmod +x install_qt5 \
&& ./install_qt5 \
&& rm -f ./install_qt5
WORKDIR /root
RUN wget https://github.com/probonopd/linuxdeployqt/releases/download/6/linuxdeployqt-6-x86_64.AppImage \
&& chmod +x linuxdeployqt-6-x86_64.AppImage \
&& ./linuxdeployqt-6-x86_64.AppImage --appimage-extract \
&& mv squashfs-root deployqt \
&& ln -s /root/deployqt/AppRun /usr/local/sbin/linuxdeployqt \
&& rm -f linuxdeployqt-6-x86_64.AppImage
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment