Skip to content

Commit a94eb0d

Browse files
committed
chore(ci): Provide a deb package for Ubuntu 24.04
24.04 is a LTS version with official support until June 2029. https://wiki.ubuntu.com/Releases
1 parent 5dd100a commit a94eb0d

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

Diff for: .github/workflows/linux.yml

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ jobs:
2222
build-script: ubuntu_deb_entrypoint.sh
2323
build-type: release
2424

25+
- image: ubuntu-24_04
26+
build-script: ubuntu_deb_entrypoint.sh
27+
build-type: release
28+
2529
- image: ubuntu-24_10
2630
build-script: ubuntu_deb_entrypoint.sh
2731
build-type: release

Diff for: Dockerfiles/ubuntu-24_04

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# vim: set syntax=dockerfile:
2+
FROM ubuntu:24.04
3+
4+
LABEL org.opencontainers.image.description="Base image used to build and DEB-package Notes on Ubuntu 24.04"
5+
6+
# Prevent tzdata from asking for input.
7+
ENV DEBIAN_FRONTEND=noninteractive
8+
9+
# Install dependencies.
10+
RUN apt-get update && \
11+
apt-get install -y --no-install-recommends cmake git g++ libgl-dev lintian qt6-base-private-dev qt6-declarative-dev && \
12+
apt-get clean && \
13+
rm -rf /var/lib/apt/lists
14+
15+
# Prevent a fatal error from git: "detected dubious ownership in repository at '/src'".
16+
RUN git config --global --add safe.directory /src
17+
18+
# Don't forget to mount the current git tree to /src, i.e.:
19+
# docker run -v $(pwd):/src -it --rm ...
20+
WORKDIR /src
21+
22+
ADD --chmod=755 ./Dockerfiles/ubuntu_deb_entrypoint.sh /usr/bin/entrypoint.sh
23+
ENTRYPOINT ["entrypoint.sh"]

0 commit comments

Comments
 (0)