-
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #966 from JulianGro/ubuntu_2404
Add Ubuntu 24.04 to server packaging
- Loading branch information
Showing
3 changed files
with
62 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
tools/ci-scripts/deb_package/Dockerfile_build_ubuntu-24.04
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Copyright 2022-2024 Overte e.V. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
# Docker file for building Overte Server | ||
# Example build: docker build -t overte/overte-server-build:0.1.3-ubuntu-24.04 -f Dockerfile_build_ubuntu-24.04 . | ||
FROM ubuntu:24.04 | ||
LABEL maintainer="Julian Groß ([email protected])" | ||
LABEL description="Development image for Overte Domain server and assignment clients." | ||
|
||
# Don't use any frontend when installing packages during the creation of this container | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN echo UTC >/etc/timezone | ||
# Installing via dependency causes interactive hang: | ||
RUN apt-get update && apt-get -y install tzdata | ||
|
||
# Install Overte domain-server and assignment-client build dependencies | ||
RUN apt-get -y install curl ninja-build git cmake g++ libssl-dev libqt5websockets5-dev qtdeclarative5-dev qtmultimedia5-dev python3-setuptools python3-distro mesa-common-dev libgl1-mesa-dev libsystemd-dev | ||
# Install Overte tools build dependencies | ||
RUN apt-get -y install libqt5webchannel5-dev qtwebengine5-dev libqt5xmlpatterns5-dev | ||
|
||
# Install tools for package creation | ||
RUN apt-get -y install sudo chrpath binutils dh-make | ||
|
||
# Install locales package | ||
RUN apt-get -y install locales | ||
# Uncomment en_US.UTF-8 for inclusion in generation | ||
RUN sed -i 's/^# *\(en_US.UTF-8\)/\1/' /etc/locale.gen | ||
# Generate locale | ||
RUN locale-gen | ||
|
||
# Export env vars | ||
RUN echo "export LC_ALL=en_US.UTF-8" >> ~/.bashrc | ||
RUN echo "export LANG=en_US.UTF-8" >> ~/.bashrc | ||
RUN echo "export LANGUAGE=en_US.UTF-8" >> ~/.bashrc | ||
|
||
# Install tools needed for our Github Actions Workflow | ||
Run apt-get -y install python3-boto3 python3-github zip |