Skip to content

Commit

Permalink
Update base image in tools and controller image (#1054)
Browse files Browse the repository at this point in the history
* Update base image in tools and controller image

Container images recently started failing because of the base
image that we use.
This PR tries to update the base image as well as updates the
other dependencies.

* Update base image for kanister-tools image

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
viveksinghggits and mergify[bot] committed Jul 23, 2021
1 parent 3d367e9 commit 3f350bc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion Dockerfile.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG base_image=registry.access.redhat.com/ubi8/ubi-minimal:8.4-200.1622548483
ARG base_image=registry.access.redhat.com/ubi8/ubi-minimal:8.4-205
FROM ${base_image}
ARG kanister_version

Expand All @@ -14,6 +14,12 @@ RUN microdnf install git && \
microdnf update openssl-libs && \
microdnf clean all

RUN microdnf install yum \
&& yum -y update-minimal --security --sec-severity=Important --sec-severity=Critical \
&& yum clean all \
&& microdnf remove yum \
&& microdnf clean all

COPY licenses /licenses/licenses

ADD ARG_SOURCE_BIN /ARG_BIN
Expand Down
8 changes: 7 additions & 1 deletion docker/tools/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.1
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.4-205
ARG kan_tools_version="test-version"
LABEL name="kanister-tools" \
vendor="Kanister" \
Expand All @@ -20,4 +20,10 @@ RUN microdnf update && microdnf install shadow-utils httpd-tools && \
microdnf remove shadow-utils && \
microdnf clean all

RUN microdnf install yum \
&& yum -y update-minimal --security --sec-severity=Important --sec-severity=Critical \
&& yum clean all \
&& microdnf remove yum \
&& microdnf clean all

CMD [ "/usr/bin/tail", "-f", "/dev/null" ]

0 comments on commit 3f350bc

Please sign in to comment.