-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Containerfile
30 lines (30 loc) · 1.22 KB
/
Containerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Mon Apr 17 00:21:08 UTC 2023
FROM registry.access.redhat.com/ubi8:8.7-1112
MAINTAINER [email protected]
ENV COPYQ_VER=7.0.0
RUN dnf install -y --disableplugin=subscription-manager https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
RUN dnf install -y --enablerepo=rhel-8-for-x86_64-appstream-rpms \
cmake \
extra-cmake-modules \
gcc-c++ \
git \
kf5-knotifications-devel \
libSM-devel \
libXfixes-devel \
libXtst-devel \
qt5-qtbase-devel \
qt5-qtbase-private-devel \
qt5-qtdeclarative-devel \
qt5-qtsvg-devel \
qt5-qttools-devel \
qt5-qtx11extras-devel \
rpmdevtools \
wayland-devel \
wget
RUN dnf install -y https://vault.centos.org/centos/8/PowerTools/x86_64/os/Packages/qt5-qtwayland-devel-5.15.2-2.el8.x86_64.rpm
RUN rpmdev-setuptree
COPY copyq.spec /root/rpmbuild/SPECS/
RUN cd /root/rpmbuild/SOURCES/ && wget https://github.com/hluk/CopyQ/archive/refs/tags/v${COPYQ_VER}.tar.gz
RUN rpmbuild -ba /root/rpmbuild/SPECS/copyq.spec
RUN md5sum /root/rpmbuild/RPMS/x86_64/CopyQ-${COPYQ_VER}-1.el8.x86_64.rpm > /root/rpmbuild/RPMS/x86_64/CopyQ-${COPYQ_VER}-1.el8.x86_64.md5
RUN md5sum /root/rpmbuild/SRPMS/CopyQ-${COPYQ_VER}-1.el8.src.rpm > /root/rpmbuild/SRPMS/CopyQ-${COPYQ_VER}-1.el8.src.md5