mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 10:17:40 +02:00
Add Debian 12 server package building
This commit is contained in:
parent
012098b7d6
commit
533d6c1a37
2 changed files with 49 additions and 0 deletions
10
.github/workflows/linux_server_build.yml
vendored
10
.github/workflows/linux_server_build.yml
vendored
|
@ -40,6 +40,16 @@ jobs:
|
||||||
arch: aarch64
|
arch: aarch64
|
||||||
runner: linux_aarch64
|
runner: linux_aarch64
|
||||||
|
|
||||||
|
- os: debian-12
|
||||||
|
image: docker.io/overte/overte-server-build:0.1.3-debian-12-amd64
|
||||||
|
arch: amd64
|
||||||
|
runner: ubuntu-latest
|
||||||
|
|
||||||
|
- os: debian-12
|
||||||
|
image: docker.io/overte/overte-server-build:0.1.3-debian-12-aarch64
|
||||||
|
arch: aarch64
|
||||||
|
runner: linux_aarch64
|
||||||
|
|
||||||
- os: ubuntu-18.04
|
- os: ubuntu-18.04
|
||||||
image: docker.io/overte/overte-server-build:0.1.3-ubuntu-18.04-amd64
|
image: docker.io/overte/overte-server-build:0.1.3-ubuntu-18.04-amd64
|
||||||
arch: amd64
|
arch: amd64
|
||||||
|
|
39
tools/ci-scripts/deb_package/Dockerfile_build_debian-12
Normal file
39
tools/ci-scripts/deb_package/Dockerfile_build_debian-12
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
# Copyright 2022-2023 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-debian-12 -f Dockerfile_build_debian-12 .
|
||||||
|
FROM debian:bookworm
|
||||||
|
LABEL maintainer="Julian Groß (julian.gro@overte.org)"
|
||||||
|
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 cmake curl ninja-build git g++ libssl-dev libqt5websockets5-dev qtdeclarative5-dev qtmultimedia5-dev python3-distutils 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
|
Loading…
Reference in a new issue