Dockerfile_rhel_8 1.66 KB
Newer Older
Sébastien Blin's avatar
Sébastien Blin committed
1
2
FROM docker.io/roboxes/rhel8

3
4
5
6
ARG PASS
ENV PASS=$PASS

RUN subscription-manager register --username=jamisfl --password=$PASS
Sébastien Blin's avatar
Sébastien Blin committed
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
RUN subscription-manager attach --auto
RUN subscription-manager repos  --enable=codeready-builder-for-rhel-8-x86_64-rpms

RUN dnf clean all
RUN dnf install -y dnf-command\(builddep\) rpmdevtools

RUN dnf clean all
RUN dnf upgrade -y && \
    dnf install -y mesa-dri-drivers && \
    dnf install -y \
        git \
        rpm-build \
        tar \
        make \
        autoconf \
        automake \
        cmake \
        pulseaudio-libs-devel \
        libcanberra-devel \
        libcurl-devel \
        libtool \
        dbus-devel \
        expat-devel \
        pcre-devel \
        boost-devel \
        dbus-devel \
        libXext-devel \
        libXfixes-devel \
        chrpath \
        check \
        gettext-devel \
        gcc-c++ \
        which \
        alsa-lib-devel \
        systemd-devel \
        libuuid-devel \
        gnutls-devel \
        nettle-devel \
        patch \
        webkitgtk4-devel \
        libva-devel \
        openssl-devel \
        qt5-devel \
        clutter \
        clutter-devel \
        clutter-gtk-devel \
        qrencode-devel \
        yasm \
        opus \
        opus-devel \
        libvdpau-devel \
        libvdpau \
        speexdsp \
        speexdsp-devel \
        cppunit-devel \
        cppunit \
        libsndfile \
        libsndfile-devel \
        gsm-devel \
        evolution-data-server \
        evolution-devel \
68
	qt5-qtbase-5.11.1-7.el8.i686 \
Sébastien Blin's avatar
Sébastien Blin committed
69
70
71
72
73
74
75
        dbus-c++

ADD scripts/build-package-rhel.sh  /opt/build-package-rhel.sh

CMD /opt/build-package-rhel.sh

RUN subscription-manager unregister