Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update package versions in mysql docker image #2617

Merged
merged 1 commit into from
Jan 19, 2024
Merged

Conversation

pavannd1
Copy link
Contributor

Change Overview

  • New version (8.0.36) of MySQL updated the GnuPG build key. This is causing the docker builds to fail for the past two days. Updated the RPM version to the latest version to pull in the new keys.
  • Additionally, updated the UBI base image to the latest version.

Pull request type

Please check the type of change your PR introduces:

  • 🚧 Work in Progress
  • 🌈 Refactoring (no functional changes, no api changes)
  • 🐹 Trivial/Minor
  • πŸ› Bugfix
  • 🌻 Feature
  • πŸ—ΊοΈ Documentation
  • πŸ€– Test

Issues

  • fixes #issue-number

Test Plan

  • πŸ’ͺ Manual
    Built the docker image successfully.
$ docker build --platform=linux/amd64 --build-arg TOOLS_IMAGE=ghcr.io/kanisterio/kanister-tools:v9.99.9-dev --tag=pavanndev/mysql:test-118 .
[+] Building 25.6s (15/15) FINISHED                                                                                                                                                                                      docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                                                                                                                                                     0.0s
 => => transferring dockerfile: 652B                                                                                                                                                                                                     0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                        0.0s
 => => transferring context: 2B                                                                                                                                                                                                          0.0s
 => [internal] load metadata for ghcr.io/kanisterio/kanister-tools:v9.99.9-dev                                                                                                                                                           0.8s
 => [internal] load metadata for registry.access.redhat.com/ubi9/ubi:9.3-1476                                                                                                                                                            0.8s
 => [builder 1/6] FROM registry.access.redhat.com/ubi9/ubi:9.3-1476@sha256:fc300be6adbdf2ca812ad01efd0dee2a3e3f5d33958ad6cd99159e25e9ee1398                                                                                              0.0s
 => [stage-1 1/4] FROM ghcr.io/kanisterio/kanister-tools:v9.99.9-dev@sha256:583bd395d5abe9c1f3dd1305813bf1fa68a0d454c250ddeb73bcd2ac9e87334f                                                                                             0.0s
 => CACHED [builder 2/6] RUN dnf clean all && rm -rf /var/cache/dnf                                                                                                                                                                      0.0s
 => CACHED [builder 3/6] RUN dnf -y upgrade                                                                                                                                                                                              0.0s
 => [builder 4/6] RUN curl -LO https://dev.mysql.com/get/mysql80-community-release-el9-5.noarch.rpm                                                                                                                                      1.1s
 => CACHED [stage-1 2/4] RUN microdnf -y update && microdnf -y install tar gzip &&     microdnf clean all                                                                                                                                0.0s
 => [builder 5/6] RUN dnf install -y mysql80-community-release-el9-5.noarch.rpm                                                                                                                                                          3.1s
 => [builder 6/6] RUN dnf install -y mysql-community-client                                                                                                                                                                             20.1s
 => [stage-1 3/4] COPY --from=builder /usr/lib64/mysql /usr/lib64/                                                                                                                                                                       0.0s
 => [stage-1 4/4] COPY --from=builder /usr/bin/mysql* /usr/bin/                                                                                                                                                                          0.1s
 => exporting to image                                                                                                                                                                                                                   0.1s
 => => exporting layers                                                                                                                                                                                                                  0.1s
 => => writing image sha256:fc42118dbccd91e85b6feb6d9d5edc7dc20fef1d6d9a3e25f5243cc35580dba9                                                                                                                                             0.0s
 => => naming to docker.io/pavanndev/mysql:test-118
  • ⚑ Unit test
  • πŸ’š E2E

Kanister automation moved this from In Progress to Reviewer approved Jan 19, 2024
@mergify mergify bot merged commit 6946482 into master Jan 19, 2024
15 checks passed
Kanister automation moved this from Reviewer approved to Done Jan 19, 2024
@mergify mergify bot deleted the mysql-8-gpg-update branch January 19, 2024 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants