-
-
Notifications
You must be signed in to change notification settings - Fork 349
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
2 changed files
with
27 additions
and
0 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
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"] |