Skip to content

Commit

Permalink
[ANSIENG-3229] | modified dockerfiles for ubi9-minimal (confluentinc#…
Browse files Browse the repository at this point in the history
  • Loading branch information
rrbadiani authored Feb 1, 2024
1 parent a990367 commit 68faf25
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions molecule/Dockerfile-rhel-java11.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ LABEL maintainer="CP Ansible"
ENV container docker

RUN microdnf -y --nodocs install yum
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\
# RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
# systemd-tmpfiles-setup.service ] || rm -f $i; done); \
RUN rm -f /lib/systemd/system/multi-user.target.wants/*;\
rm -f /etc/systemd/system/*.wants/*;\
rm -f /lib/systemd/system/local-fs.target.wants/*; \
rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
Expand Down
6 changes: 3 additions & 3 deletions molecule/Dockerfile-rhel-java17.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ LABEL maintainer="CP Ansible"
ENV container docker

RUN microdnf -y --nodocs install yum
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\
# RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
# systemd-tmpfiles-setup.service ] || rm -f $i; done); \
RUN rm -f /lib/systemd/system/multi-user.target.wants/*;\
rm -f /etc/systemd/system/*.wants/*;\
rm -f /lib/systemd/system/local-fs.target.wants/*; \
rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
Expand Down
6 changes: 3 additions & 3 deletions molecule/Dockerfile-rhel-java8.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ LABEL maintainer="CP Ansible"
ENV container docker

RUN microdnf -y --nodocs install yum
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\
# RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
# systemd-tmpfiles-setup.service ] || rm -f $i; done); \
RUN rm -f /lib/systemd/system/multi-user.target.wants/*;\
rm -f /etc/systemd/system/*.wants/*;\
rm -f /lib/systemd/system/local-fs.target.wants/*; \
rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
Expand Down
6 changes: 3 additions & 3 deletions molecule/Dockerfile-rhel-tar.j2
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ LABEL maintainer="CP Ansible"
ENV container docker

RUN microdnf -y --nodocs install yum
RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\
# RUN (cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == \
# systemd-tmpfiles-setup.service ] || rm -f $i; done); \
RUN rm -f /lib/systemd/system/multi-user.target.wants/*;\
rm -f /etc/systemd/system/*.wants/*;\
rm -f /lib/systemd/system/local-fs.target.wants/*; \
rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
Expand Down

0 comments on commit 68faf25

Please sign in to comment.