Commit a18f618d authored by probal31's avatar probal31
Browse files

Changes:

- Added packages to docker image for maui builds
- Renamed folder since same Dockerfile to be used
for amd64 and arm64
- Removed appimagetool.AppDir
parent 21806a63
FROM ubuntu:focal
ENV DEBIAN_FRONTEND=noninteractive
# Install basic tools
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get -o Dpkg::Options::="--force-overwrite" install -y curl gnupg2 && \
apt-get autoclean && \
rm -rf /var/lib/apt/
# 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 -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