Skip to content

Commit

Permalink
chore(ci): Provide a deb package for Ubuntu 24.04
Browse files Browse the repository at this point in the history
24.04 is a LTS version with official support until June 2029.

https://wiki.ubuntu.com/Releases
  • Loading branch information
guihkx committed Feb 4, 2025
1 parent 5dd100a commit a94eb0d
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ jobs:
build-script: ubuntu_deb_entrypoint.sh
build-type: release

- image: ubuntu-24_04
build-script: ubuntu_deb_entrypoint.sh
build-type: release

- image: ubuntu-24_10
build-script: ubuntu_deb_entrypoint.sh
build-type: release
Expand Down
23 changes: 23 additions & 0 deletions Dockerfiles/ubuntu-24_04
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# vim: set syntax=dockerfile:
FROM ubuntu:24.04

LABEL org.opencontainers.image.description="Base image used to build and DEB-package Notes on Ubuntu 24.04"

# Prevent tzdata from asking for input.
ENV DEBIAN_FRONTEND=noninteractive

# Install dependencies.
RUN apt-get update && \
apt-get install -y --no-install-recommends cmake git g++ libgl-dev lintian qt6-base-private-dev qt6-declarative-dev && \
apt-get clean && \
rm -rf /var/lib/apt/lists

# Prevent a fatal error from git: "detected dubious ownership in repository at '/src'".
RUN git config --global --add safe.directory /src

# Don't forget to mount the current git tree to /src, i.e.:
# docker run -v $(pwd):/src -it --rm ...
WORKDIR /src

ADD --chmod=755 ./Dockerfiles/ubuntu_deb_entrypoint.sh /usr/bin/entrypoint.sh
ENTRYPOINT ["entrypoint.sh"]

0 comments on commit a94eb0d

Please sign in to comment.