-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (17 loc) · 1021 Bytes
/
Dockerfile
File metadata and controls
23 lines (17 loc) · 1021 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10
WORKDIR /
COPY directpv /directpv
COPY CREDITS /licenses/CREDITS
COPY LICENSE /licenses/LICENSE
RUN microdnf update --nodocs
COPY AlmaLinux.repo /AlmaLinux.repo
RUN \
curl -L https://repo.almalinux.org/almalinux/8/BaseOS/x86_64/os/RPM-GPG-KEY-AlmaLinux -o /etc/pki/rpm-gpg/RPM-GPG-KEY-AlmaLinux && \
microdnf install dnf --nodocs && \
mv /AlmaLinux.repo /etc/yum.repos.d/AlmaLinux.repo && \
dnf --quiet --assumeyes --nodocs install xfsprogs && \
dnf --quiet --assumeyes clean all && \
rpm -e --nodeps dnf dnf-data gdbm gdbm-libs ima-evm-utils libcomps libevent libreport-filesystem platform-python platform-python-pip platform-python-setuptools python3-dnf python3-gpg python3-hawkey python3-libcomps python3-libdnf python3-libs python3-pip-wheel python3-rpm python3-setuptools-wheel python3-unbound rpm-build-libs tpm2-tss unbound-libs && \
microdnf clean all && \
rm -f /etc/yum.repos.d/AlmaLinux.repo
ENTRYPOINT ["/directpv"]