Warning, /education/kstars/docker/Dockerfile is written in an unsupported language. File is not indexed.

0001 FROM ubuntu:latest
0002 
0003 # Suitable for builds
0004 RUN apt update && apt -y install --no-install-recommends software-properties-common
0005 RUN apt update && add-apt-repository ppa:mutlaqja/indinightly
0006 RUN apt update && apt -y install --no-install-recommends \
0007       gcc-multilib \
0008       g++-multilib \
0009       make \
0010       gettext \
0011       coreutils \
0012       cmake \
0013       extra-cmake-modules \
0014       qtbase5-dev \
0015       qtdeclarative5-dev \
0016       qtmultimedia5-dev \
0017       qtpositioning5-dev \
0018       libqt5websockets5-dev \
0019       libqt5svg5-dev \
0020       libqt5sql5-sqlite \
0021       kdoctools-dev \
0022       libkf5config-dev \
0023       libkf5guiaddons-dev \
0024       libkf5i18n-dev \
0025       libkf5newstuff-dev \
0026       libkf5notifications-dev \
0027       libkf5xmlgui-dev \
0028       libkf5plotting-dev \
0029       libkf5crash-dev \
0030       libkf5notifyconfig-dev \
0031       libeigen3-dev \
0032       zlib1g-dev \
0033       libcfitsio-dev \
0034       libnova-dev \
0035       wcslib-dev \
0036       libraw-dev \
0037       libgsl-dev \
0038       phonon4qt5-backend-vlc \
0039       qt5keychain-dev \
0040       libsecret-1-dev
0041 
0042 # Suitable for tests
0043 RUN apt update && add-apt-repository ppa:mutlaqja/indinightly
0044 RUN apt update && add-apt-repository ppa:pch/phd2
0045 RUN apt update && apt -y --no-install-recommends install \
0046       make \
0047       cmake \
0048       extra-cmake-modules \
0049       xplanet \
0050       xplanet-images \
0051       astrometry.net \
0052       kded5 \
0053       kinit \
0054       breeze-icon-theme \
0055       libqt5sql5-sqlite \
0056       qml-module-qtquick-controls \
0057       gsc gsc-data \
0058       phd2 \
0059       xvfb
0060 
0061 # QT5 theme
0062 ENV QT_QPA_PLATFORMTHEME=qt5ct
0063 RUN apt update && apt -y --no-install-recommends install qt5ct
0064 RUN d=/root/.config/qt5ct ; mkdir -p "$d" && echo '[Appearance]\nicon_theme=breeze' > "$d/qt5ct.conf"
0065 
0066 # Ninja
0067 RUN apt update && apt -y --no-install-recommends install ninja-build
0068 
0069 # CCache
0070 ENV CCACHE_DIR=/var/ccache
0071 RUN apt update && apt -y --no-install-recommends install ccache
0072 RUN mkdir -p $CCACHE_DIR && chmod a=rwx $CCACHE_DIR && update-ccache-symlinks
0073 
0074 # AppImage
0075 RUN apt update && apt -y --no-install-recommends install \
0076       python3-pip \
0077       python3-setuptools \
0078       patchelf \
0079       desktop-file-utils \
0080       libgdk-pixbuf2.0-dev \
0081       fakeroot \
0082       wget \
0083       gpg-agent
0084 
0085 # Saxon
0086 RUN apt install -y --no-install-recommends \
0087       libsaxon-java \
0088       openjdk-11-jre-headless
0089 
0090 # Astrometry
0091 ADD http://broiler.astrometry.net/~dstn/4200/index-4208.fits /root/.local/share/kstars/astrometry/
0092 ADD http://broiler.astrometry.net/~dstn/4200/index-4209.fits /root/.local/share/kstars/astrometry/
0093 ADD http://broiler.astrometry.net/~dstn/4200/index-4210.fits /root/.local/share/kstars/astrometry/
0094 
0095 # From https://invent.kde.org/sysadmin/ci-tooling/-/blob/master/system-images/suse-qt515/Dockerfile
0096 RUN apt update && apt -y install dbus
0097 RUN dbus-uuidgen > /etc/machine-id
0098 
0099 CMD /bin/bash
0100