Skip to content

Commit

Permalink
Added more dockerfiles
Browse files Browse the repository at this point in the history
Signed-off-by: Ben Courliss <bencourliss@ibm.com>
  • Loading branch information
Ben Courliss committed Nov 17, 2023
1 parent 70c2583 commit b7bf970
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 2 additions & 2 deletions anax-in-container/Dockerfile.ubi.ppc64el
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ COPY EPEL.repo /etc/yum.repos.d
# Install docker cli, which requires tar / gunzip to unpack, then remove tar / gzip packages
# Create required directories
ARG REQUIRED_RPMS="openssl ca-certificates shadow-utils jq iptables vim-minimal psmisc procps-ng tar gzip"
RUN microdnf clean all
&& rm -rf /var/cache/dnf /var/cache/PackageKit
RUN microdnf clean all \
&& rm -rf /var/cache/dnf /var/cache/PackageKit \
&& microdnf update -y --nodocs --nobest --setopt=install_weak_deps=0 --disableplugin=subscription-manager \
&& microdnf install -y --nodocs --setopt=install_weak_deps=0 --disableplugin=subscription-manager ${REQUIRED_RPMS} \
&& curl -4fsSLO https://download.docker.com/linux/static/stable/ppc64le/docker-${DOCKER_VER}.tgz \
Expand Down
4 changes: 3 additions & 1 deletion anax-in-k8s/Dockerfile.ubi.auto-upgrade-cron.ppc64el
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ COPY EPEL.repo /etc/yum.repos.d
# Create required directories
# Create cronjobuser
ARG REQUIRED_RPMS="shadow-utils jq"
RUN microdnf update -y --nodocs --setopt=install_weak_deps=0 --disableplugin=subscription-manager \
RUN microdnf clean all \
&& rm -rf /var/cache/dnf /var/cache/PackageKit \
&& microdnf update -y --nodocs --nobest --setopt=install_weak_deps=0 --disableplugin=subscription-manager \
&& microdnf install -y --nodocs --setopt=install_weak_deps=0 --disableplugin=subscription-manager ${REQUIRED_RPMS} \
&& microdnf clean all --disableplugin=subscription-manager \
&& rm -rf /mnt/rootfs/var/cache/* /mnt/rootfs/var/log/dnf* /mnt/rootfs/var/log/yum.* \
Expand Down
4 changes: 3 additions & 1 deletion ess/image/edge-sync-service-ppc64el/Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ LABEL summary="Edge node Model Management System."
LABEL description="Provides the edge node side of the Model Management System to be used by the CLI service test tools when also testing object models."

# yum is not installed, use microdnf instead
RUN microdnf update -y --nodocs --setopt=install_weak_deps=0 --disableplugin=subscription-manager \
RUN microdnf clean all \
&& rm -rf /var/cache/dnf /var/cache/PackageKit \
&& microdnf update -y --nodocs --nobest --setopt=install_weak_deps=0 --disableplugin=subscription-manager \
&& microdnf install -y --nodocs openssl ca-certificates --setopt=install_weak_deps=0 --disableplugin=subscription-manager \
&& microdnf clean all --disableplugin=subscription-manager \
&& rm -rf /mnt/rootfs/var/cache/* /mnt/rootfs/var/log/dnf* /mnt/rootfs/var/log/yum.* \
Expand Down

0 comments on commit b7bf970

Please sign in to comment.