Warning, /rolisteam/rolisteam-packaging/rolisteam/linux/docker/Dockerfile is written in an unsupported language. File is not indexed.
0001 # 0002 # Dockerfile for rolisteam-server 0003 # 0004 0005 0006 # Use Ubuntu as base for the build 0007 ARG UBUNTU_VERSION=bionic 0008 FROM ubuntu:${UBUNTU_VERSION} AS builder 0009 0010 # Base directory for installed build artifacts. 0011 # Due to limitations of the Docker image build process, this value is 0012 # duplicated in an ARG in the second stage of the build. 0013 # 0014 0015 ARG PREFIX_DIR=/usr/local/rolisteam 0016 0017 # Build arguments 0018 ARG BUILD_DIR=/tmp/rolisteam-docker-BUILD 0019 ARG BUILD_DEPENDENCIES=" \ 0020 qt5-default \ 0021 qtbase5-dev-tools \ 0022 qt5-qmake libqt5network5 \ 0023 zlib1g-dev build-essential \ 0024 git \ 0025 qtmultimedia5-dev \ 0026 libqt5core5a \ 0027 libqt5gui5 \ 0028 qttools5-dev-tools \ 0029 qtdeclarative5-dev \ 0030 qtwebengine5-dev \ 0031 libqt5svg5-dev \ 0032 sudo" 0033 0034 # Bring build environment up to date and install build dependencies 0035 RUN apt-get update && \ 0036 apt-get install -y $BUILD_DEPENDENCIES && \ 0037 rm -rf /var/lib/apt/lists/* 0038 0039 RUN mkdir $BUILD_DIR && \ 0040 git -C $BUILD_DIR clone --recursive https://github.com/Rolisteam/rolisteam.git && \ 0041 cd $BUILD_DIR/rolisteam && \ 0042 lrelease rolisteam.pro && \ 0043 qmake -r rolisteam.pro && \ 0044 make && \ 0045 sudo make install && \ 0046 cd ~ && \ 0047 rm -rf $BUILD_DIR && \ 0048 apt-get -y remove *-dev *dev-tools && \ 0049 apt-get -y autoremove && \ 0050 apt-get -y clean 0051 0052 # Expose the default listener port 0053 EXPOSE 6660 0054 0055 RUN /usr/local/bin/roliserver -p /opt/default.config 0056 CMD /usr/local/bin/roliserver -c /opt/default.config 0057 0058