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

0001 FROM ubuntu:22.04
0002 
0003 # Suitable for builds
0004 RUN apt update && apt -y install --no-install-recommends software-properties-common gpg-agent
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       libkf5doctools-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       libqt5sql5-sqlite \
0041       libqt5datavisualization5-dev \
0042       qml-module-qtquick-controls \
0043       libsecret-1-dev
0044 
0045 # Suitable for tests
0046 RUN apt update && add-apt-repository ppa:mutlaqja/ppa
0047 RUN apt update && add-apt-repository ppa:pch/phd2
0048 
0049 ENV TZ=Greenwich
0050 RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
0051 RUN apt update && apt -y --no-install-recommends install \
0052       make \
0053       cmake \
0054       extra-cmake-modules \
0055       xplanet \
0056       xplanet-images \
0057       astrometry.net \
0058       kded5 \
0059       kinit \
0060       breeze-icon-theme \
0061       gsc gsc-data \
0062       phd2 \
0063       xvfb
0064 
0065 # QT5 theme
0066 ENV QT_QPA_PLATFORMTHEME=qt5ct
0067 RUN apt update && apt -y --no-install-recommends install qt5ct
0068 RUN d=/root/.config/qt5ct ; mkdir -p "$d" && echo '[Appearance]\nicon_theme=breeze' > "$d/qt5ct.conf"
0069 
0070 # Ninja
0071 RUN apt update && apt -y --no-install-recommends install ninja-build
0072 
0073 # CCache
0074 ENV CCACHE_DIR=/var/ccache
0075 RUN apt update && apt -y --no-install-recommends install ccache
0076 RUN mkdir -p $CCACHE_DIR && chmod a=rwx $CCACHE_DIR && update-ccache-symlinks
0077 
0078 # AppImage
0079 RUN apt update && apt -y --no-install-recommends install \
0080       python3-pip \
0081       python3-setuptools \
0082       patchelf \
0083       desktop-file-utils \
0084       libgdk-pixbuf2.0-dev \
0085       fakeroot \
0086       wget
0087 
0088 # Saxon
0089 RUN apt install -y --no-install-recommends \
0090       libsaxon-java \
0091       openjdk-11-jre-headless
0092 
0093 # Astrometry
0094 ADD http://broiler.astrometry.net/~dstn/4200/index-4208.fits /root/.local/share/kstars/astrometry/
0095 ADD http://broiler.astrometry.net/~dstn/4200/index-4209.fits /root/.local/share/kstars/astrometry/
0096 ADD http://broiler.astrometry.net/~dstn/4200/index-4210.fits /root/.local/share/kstars/astrometry/
0097 
0098 # From https://invent.kde.org/sysadmin/ci-tooling/-/blob/master/system-images/suse-qt515/Dockerfile
0099 RUN apt update && apt -y install dbus
0100 RUN dbus-uuidgen > /etc/machine-id
0101 
0102 CMD /bin/bash
0103