-
-
Notifications
You must be signed in to change notification settings - Fork 346
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
53 additions
and
49 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,14 @@ | ||
FROM ubuntu:22.04 | ||
|
||
# this image can also be used for appimage builds | ||
# Configure the timezone, otherwise 'install-qt-action' gets stuck at 'configuring tzdata'. | ||
RUN ln -sf /usr/share/zoneinfo/UTC /etc/localtime \ | ||
&& echo UTC > /etc/timezone | ||
|
||
# install packages | ||
RUN apt update && \ | ||
apt install -y appstream cmake curl desktop-file-utils git libfontconfig1 libxcb-cursor0 libxkbcommon-x11-0 python3 python3-pip sudo | ||
RUN python3 -m pip install --upgrade pip setuptools aqtinstall | ||
|
||
# use aqtinstall to install Qt | ||
RUN aqt install 5.15.2 |
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,32 @@ | ||
FROM ubuntu:22.04 | ||
|
||
ENV QT_VERSION=6.4.3 | ||
|
||
# this image can also be used for appimage builds | ||
# Configure the timezone, otherwise 'install-qt-action' gets stuck at 'configuring tzdata'. | ||
RUN ln -sf /usr/share/zoneinfo/UTC /etc/localtime \ | ||
&& echo UTC > /etc/timezone | ||
|
||
# install packages | ||
# - appstream: Used to validate the AppStream metadata file. | ||
# - cmake: Used to help build the application. | ||
# - curl: Used to download the linuxdeploy AppImage tool. | ||
# - desktop-file-utils: Used to validate the desktop file. | ||
# - git: To clone this repository. | ||
# - libfontconfig1: Used as dependency of the resulting AppImage. | ||
# - libxcb-cursor0: Used as dependency of the resulting AppImage. | ||
# - libxkbcommon-x11-0: Used as dependency of the resulting AppImage. | ||
# - python3/python3-pip: Used by aqtinstall. | ||
# - sudo: Used by most GitHub actions to install things. | ||
# - libpq5: Useless, but needed to keep linuxdeploy happy | ||
# - libodbc1: Useless, but needed to keep linuxdeploy happy | ||
RUN apt update && \ | ||
apt install -y appstream cmake curl desktop-file-utils git libfontconfig1 libxcb-cursor0 libxkbcommon-x11-0 python3 python3-pip sudo \ | ||
libpq5 libodbc1 | ||
RUN python3 -m pip install --upgrade pip setuptools aqtinstall | ||
|
||
# qt6 dependencies | ||
RUN apt install -y libxkbcommon-dev libmysqlclient21 | ||
|
||
# use aqtinstall to install qt | ||
RUN aqt install $QT_VERSION linux desktop |