-
-
Notifications
You must be signed in to change notification settings - Fork 0
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
4 changed files
with
63 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
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,35 @@ | ||
FROM fedora:rawhide | ||
|
||
USER root | ||
|
||
# Install packages | ||
RUN dnf update -y && \ | ||
dnf install -y sudo \ | ||
gcc-c++ clang git cmake ninja-build \ | ||
qt6-qtbase-static qt6-qtbase-private-devel \ | ||
qt6-qtquickcontrols2-devel \ | ||
qt6-qtwayland-devel \ | ||
qt6-qtmultimedia-devel \ | ||
qt6-qtwebengine-devel \ | ||
qt6-qtsvg-devel \ | ||
qt6-qttools-devel \ | ||
wayland-devel wayland-protocols-devel \ | ||
pam-devel \ | ||
polkit-devel polkit-qt6-1-devel \ | ||
kf6-solid-devel \ | ||
systemd-devel libdrm-devel mesa-libgbm-devel libinput-devel \ | ||
xcb-util-cursor-devel libXcursor-devel \ | ||
pulseaudio-libs-devel \ | ||
NetworkManager-libnm-devel ModemManager-glib-devel kf6-networkmanager-qt-devel kf6-modemmanager-qt-devel \ | ||
glib2-devel dconf \ | ||
pipewire-devel pipewire-utils \ | ||
libxkbcommon-devel \ | ||
flatpak-devel \ | ||
appstream-qt-devel \ | ||
umockdev-devel | ||
|
||
# Add group & user | ||
RUN groupadd -r ciuser && useradd --create-home --gid ciuser ciuser && echo 'ciuser ALL=NOPASSWD: ALL' > /etc/sudoers.d/ciuser | ||
USER ciuser | ||
WORKDIR /home/ciuser | ||
ENV HOME /home/ciuser |
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,19 @@ | ||
ORG=liridev | ||
NAME=fedora | ||
VERSION=latest | ||
|
||
DOCKER ?= podman | ||
|
||
build: | ||
$(DOCKER) build -t $(ORG)/$(NAME):$(VERSION) . | ||
|
||
push: | ||
ifeq ($(DOCKER),docker) | ||
$(DOCKER) push $(ORG)/$(NAME):$(VERSION) | ||
else | ||
$(DOCKER) push $(ORG)/$(NAME):$(VERSION) docker://docker.io/$(ORG)/$(NAME):$(VERSION) | ||
endif | ||
|
||
all: build | ||
|
||
.PHONY: build |