Commit 42d48afb authored by ab0027's avatar ab0027 💬
Browse files

Fixes and updates

parent f899602b
checkinstall
cmake
curl
desktop-file-utils
devscripts
equivs
extra-cmake-modules
fakeroot
file
gettext
git
gnupg2
kirigami2-dev
kquickimageeditor-dev
libexiv2-dev
libgdk-pixbuf2.0-dev
libglib2.0-bin
libkdecorations2-dev
libkf5archive-dev
libkf5auth-dev
libkf5bookmarks-dev
libkf5codecs-dev
libkf5completion-dev
libkf5config-dev
libkf5configwidgets-dev
libkf5contacts-dev
libkf5coreaddons-dev
libkf5declarative-dev
libkf5i18n-dev
libkf5itemviews-dev
libkf5kio-dev
libkf5notifications-dev
libkf5people-dev
libkf5plasma-dev
libkf5service-dev
libkf5syntaxhighlighting-dev
libkf5widgetsaddons-dev
libmpv-dev
libpoppler-dev
libpoppler-qt5-dev
libqt5multimedia5-plugins
libqt5sql5-sqlite
libqt5svg5-dev
libqt5webchannel5-dev
libqt5websockets5-dev
libqt5webview5-dev
libtag1-dev
patchelf
python3
python3-pip
python3-setuptools
qml-module-qtgraphicaleffects
qtbase5-dev
qtdeclarative5-dev
qtmultimedia5-dev
qtquickcontrols2-5-dev
qtwebengine5-dev
strace
wget
zsync
......@@ -2,25 +2,26 @@ FROM ubuntu:focal
ENV DEBIAN_FRONTEND=noninteractive
# Install basic tools
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y curl python3 python3-setuptools python3-pip wget \
patchelf fakeroot gnupg2 libglib2.0-bin file \
desktop-file-utils libgdk-pixbuf2.0-dev zsync patchelf && \
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-overwrite" install -y curl gnupg2 && \
apt-get autoclean && \
rm -rf /var/lib/apt/
RUN wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O /tmp/appimagetool && \
chmod +x /tmp/appimagetool && \
/tmp/appimagetool --appimage-extract && \
mv squashfs-root /opt/appimagetool.AppDir && \
ln -s /opt/appimagetool.AppDir/AppRun /usr/bin/appimagetool && \
rm /tmp/appimagetool
RUN pip3 install appimage-builder==0.7.0
# setup kde neon repositories
RUN echo "deb http://origin.archive.neon.kde.org/user focal main" > /etc/apt/sources.list.d/neon.list
RUN curl https://origin.archive.neon.kde.org/public.key -sS | apt-key add -
RUN apt-get update && apt-get dist-upgrade -y && apt-get autoclean && rm -rf /var/lib/apt/
RUN apt-get update && apt-get -o Dpkg::Options::="--force-overwrite" dist-upgrade -y && apt-get autoclean && rm -rf /var/lib/apt/
ADD BUILD_PACKAGES /BUILD_PACKAGES
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-overwrite" install -y $(cat /BUILD_PACKAGES) && \
apt-get autoclean && \
rm -rf /var/lib/apt/
ADD appimagetool.AppDir /opt/appimagetool.AppDir/
RUN ln -s /opt/appimagetool.AppDir/AppRun /usr/bin/appimagetool
RUN pip3 install appimage-builder==0.7.0
WORKDIR /
#!/bin/sh
SELF=$(readlink -f "$0")
HERE=${SELF%/*}
export PATH="${HERE}/usr/bin/:${HERE}/usr/sbin/:${HERE}/usr/games/:${HERE}/bin/:${HERE}/sbin/${PATH:+:$PATH}"
export LD_LIBRARY_PATH="${HERE}/usr/lib/:${HERE}/usr/lib/i386-linux-gnu/:${HERE}/usr/lib/x86_64-linux-gnu/:${HERE}/usr/lib32/:${HERE}/usr/lib64/:${HERE}/lib/:${HERE}/lib/i386-linux-gnu/:${HERE}/lib/x86_64-linux-gnu/:${HERE}/lib32/:${HERE}/lib64/${LD_LIBRARY_PATH:+:$LD_LIBRARY_PATH}"
export PYTHONPATH="${HERE}/usr/share/pyshared/${PYTHONPATH:+:$PYTHONPATH}"
export XDG_DATA_DIRS="${HERE}/usr/share/${XDG_DATA_DIRS:+:$XDG_DATA_DIRS}"
export PERLLIB="${HERE}/usr/share/perl5/:${HERE}/usr/lib/perl5/${PERLLIB:+:$PERLLIB}"
export GSETTINGS_SCHEMA_DIR="${HERE}/usr/share/glib-2.0/schemas/${GSETTINGS_SCHEMA_DIR:+:$GSETTINGS_SCHEMA_DIR}"
export QT_PLUGIN_PATH="${HERE}/usr/lib/qt4/plugins/:${HERE}/usr/lib/i386-linux-gnu/qt4/plugins/:${HERE}/usr/lib/x86_64-linux-gnu/qt4/plugins/:${HERE}/usr/lib32/qt4/plugins/:${HERE}/usr/lib64/qt4/plugins/:${HERE}/usr/lib/qt5/plugins/:${HERE}/usr/lib/i386-linux-gnu/qt5/plugins/:${HERE}/usr/lib/x86_64-linux-gnu/qt5/plugins/:${HERE}/usr/lib32/qt5/plugins/:${HERE}/usr/lib64/qt5/plugins/${QT_PLUGIN_PATH:+:$QT_PLUGIN_PATH}"
EXEC=$(grep -e '^Exec=.*' "${HERE}"/*.desktop | head -n 1 | cut -d "=" -f 2 | cut -d " " -f 1)
exec "${EXEC}" "$@"
[Desktop Entry]
Type=Application
Name=appimagetool
Exec=appimagetool
Comment=Tool to generate AppImages from AppDirs
Icon=appimagetool
Categories=Development;
Terminal=true
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment