File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ RUN GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o image-converter ./cmd/i
10
10
RUN GOOS=linux GOARCH=amd64 go build -ldflags="-w -s" -o virt-v2v-wrapper ./cmd/virt-v2v/entrypoint.go
11
11
12
12
# Main container
13
- FROM quay.io/centos/centos:stream9-minimal
13
+ FROM quay.io/centos/centos:stream9
14
14
RUN rm /etc/pki/tls/fips_local.cnf && \
15
15
echo -e '[fips_sect]\ntls1-prf-ems-check = 0\nactivate = 1' > /etc/pki/tls/fips_local.cnf && \
16
16
sed -i '/^\\[ crypto_policy \\]/a Options=RHNoEnforceEMSinFIPS' /etc/pki/tls/openssl.cnf
@@ -19,13 +19,14 @@ ENV LIBGUESTFS_BACKEND=direct LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1
19
19
20
20
RUN mkdir /disks && \
21
21
source /etc/os-release && \
22
- microdnf install -y \
23
- virt-v2v \
24
- virtio-win && \
25
- microdnf clean all
22
+ dnf install -y \
23
+ virt-v2v && \
24
+ dnf clean all
26
25
27
- RUN ( [ "$(rpm -q glibc)" == "glibc-2.34-66.el9.x86_64" ] && microdnf -y downgrade glibc-2.34-65.el9.x86_64 || true ) && \
28
- microdnf -y install libguestfs libguestfs-appliance libguestfs-xfs libguestfs-winsupport qemu-img supermin && \
26
+ RUN dnf install -y https://kojihub.stream.centos.org/kojifiles/packages/virtio-win/1.9.40/1.el9/noarch/virtio-win-1.9.40-1.el9.noarch.rpm
27
+
28
+ RUN ( [ "$(rpm -q glibc)" == "glibc-2.34-66.el9.x86_64" ] && dnf -y downgrade glibc-2.34-65.el9.x86_64 || true ) && \
29
+ dnf -y install libguestfs libguestfs-appliance libguestfs-xfs libguestfs-winsupport qemu-img supermin && \
29
30
depmod $(ls /lib/modules/ |tail -n1)
30
31
31
32
# Create tarball for the appliance.
You can’t perform that action at this time.
0 commit comments