Skip to content

Update library/liquibase to 4.32.0 #19077

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

Merged
merged 1 commit into from
May 23, 2025
Merged

Conversation

liquibot
Copy link
Contributor

Update library/liquibase with latest commit and version

@liquibot liquibot requested a review from a team as a code owner May 22, 2025 04:48

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

@yosifkit
Copy link
Member

The ARGs should stay where they were to be as close to where they are used as is possible.

@tianon
Copy link
Member

tianon commented May 22, 2025

See also #3540, especially #3540 (comment):

We don't actively recommend using labels. If an image maintainer wants to have labels, that is fine, but label names should adhere to the image spec: https://github.com/opencontainers/image-spec/blob/v1.0.1/annotations.md

And #3540 (comment):

It's worth updating this to note that our build system now sets several useful and appropriate OCI annotations directly on the images we push: https://oci.dag.dev/?image=hello-world

"annotations": {
  "com.docker.official-images.bashbrew.arch": "amd64",
  "org.opencontainers.image.base.name": "scratch",
  "org.opencontainers.image.created": "2025-01-22T02:27:30Z",
  "org.opencontainers.image.revision": "a71acd2dfb8c21c8e42a8f926ce37c1ffbf8eae7",
  "org.opencontainers.image.source": "https://github.com/docker-library/hello-world.git#a71acd2dfb8c21c8e42a8f926ce37c1ffbf8eae7:amd64/hello-world",
  "org.opencontainers.image.url": "https://hub.docker.com/_/hello-world",
  "org.opencontainers.image.version": "linux"
}

Copy link

Diff for f81c675:
diff --git a/_bashbrew-cat b/_bashbrew-cat
index 60cc437..ab37d81 100644
--- a/_bashbrew-cat
+++ b/_bashbrew-cat
@@ -2,11 +2,11 @@ Maintainers: Jake Newton <docker@liquibase.com> (@jnewton03)
 Architectures: amd64, arm64v8
 GitRepo: https://github.com/liquibase/docker.git
 
-Tags: 4.31, 4.31.1, latest
+Tags: 4.32, 4.32.0, latest
 GitFetch: refs/heads/main
-GitCommit: 721daba2f67968383d82ce61e2f6891f444685ee
+GitCommit: 5f25f074861b619a8bd3a3147d3ceeafb672f717
 
-Tags: 4.31-alpine, 4.31.1-alpine, alpine
+Tags: 4.32-alpine, 4.32.0-alpine, alpine
 GitFetch: refs/heads/main
-GitCommit: 721daba2f67968383d82ce61e2f6891f444685ee
+GitCommit: 5f25f074861b619a8bd3a3147d3ceeafb672f717
 File: Dockerfile.alpine
diff --git a/_bashbrew-list b/_bashbrew-list
index 94f6a18..033818d 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -1,6 +1,6 @@
-liquibase:4.31
-liquibase:4.31-alpine
-liquibase:4.31.1
-liquibase:4.31.1-alpine
+liquibase:4.32
+liquibase:4.32-alpine
+liquibase:4.32.0
+liquibase:4.32.0-alpine
 liquibase:alpine
 liquibase:latest
diff --git a/liquibase_alpine/Dockerfile.alpine b/liquibase_alpine/Dockerfile.alpine
index 3c24061..11aa1e6 100644
--- a/liquibase_alpine/Dockerfile.alpine
+++ b/liquibase_alpine/Dockerfile.alpine
@@ -7,12 +7,12 @@ RUN addgroup --gid 1001 liquibase && \
     chown liquibase /liquibase
 
 # Install smaller JRE, if available and acceptable
-RUN apk add --no-cache openjdk17-jre-headless bash
+RUN apk add --no-cache openjdk21-jre-headless bash
 
 WORKDIR /liquibase
 
-ARG LIQUIBASE_VERSION=4.31.1
-ARG LB_SHA256=0555808b59941d497f0c1114c3f2225698afde11c60d191c88e449506a60a3ea
+ARG LIQUIBASE_VERSION=4.32.0
+ARG LB_SHA256=10910d42ae9990c95a4ac8f0a3665a24bd40d08fb264055d78b923a512774d54
 
 # Download, verify, extract
 RUN set -x && \
@@ -26,9 +26,16 @@ RUN set -x && \
     ln -s /liquibase/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh && \
     liquibase --version
     
-ARG LPM_VERSION=0.2.8
-ARG LPM_SHA256=ad46e7f0ca67e39ddbf1435c0bd2879be8a43340c7b627a2da45c07787574200
-ARG LPM_SHA256_ARM=2a2e46f2260f46ccd39f487dca161b4e04d97664160925c5e415bd9b54a23e1a
+ARG LPM_VERSION=0.2.9
+ARG LPM_SHA256=b9caecd34c98a6c19a2bc582e8064aff5251c5f1adbcd100d3403c5eceb5373a
+ARG LPM_SHA256_ARM=0adb3a96d7384b4da549979bf00217a8914f0df37d1ed8fdb1b4a4baebfa104c
+
+# Add metadata labels
+LABEL org.opencontainers.image.description="Liquibase Container Image (Alpine)"
+LABEL org.opencontainers.image.licenses="Apache-2.0"
+LABEL org.opencontainers.image.vendor="Liquibase"
+LABEL org.opencontainers.image.version="${LIQUIBASE_VERSION}"
+LABEL org.opencontainers.image.documentation="https://docs.liquibase.com"
 
 # Download and Install lpm
 RUN mkdir /liquibase/bin && \
diff --git a/liquibase_latest/Dockerfile b/liquibase_latest/Dockerfile
index 85c71f5..7691cbf 100644
--- a/liquibase_latest/Dockerfile
+++ b/liquibase_latest/Dockerfile
@@ -1,21 +1,16 @@
 # Builder Stage
-FROM eclipse-temurin:17-jre-jammy
+FROM eclipse-temurin:21-jre-jammy
 
 # Create liquibase user
 RUN groupadd --gid 1001 liquibase && \
     useradd --uid 1001 --gid liquibase --create-home --home-dir /liquibase liquibase && \
     chown liquibase /liquibase
 
-# Install necessary dependencies
-#RUN apt-get update && \
-#    apt-get -yqq install krb5-user libpam-krb5 --no-install-recommends && \
-#    rm -rf /var/lib/apt/lists/*
-
 # Download and install Liquibase
 WORKDIR /liquibase
 
-ARG LIQUIBASE_VERSION=4.31.1
-ARG LB_SHA256=0555808b59941d497f0c1114c3f2225698afde11c60d191c88e449506a60a3ea
+ARG LIQUIBASE_VERSION=4.32.0
+ARG LB_SHA256=10910d42ae9990c95a4ac8f0a3665a24bd40d08fb264055d78b923a512774d54
 
 RUN wget -q -O liquibase-${LIQUIBASE_VERSION}.tar.gz "https://github.com/liquibase/liquibase/releases/download/v${LIQUIBASE_VERSION}/liquibase-${LIQUIBASE_VERSION}.tar.gz" && \
     echo "$LB_SHA256 *liquibase-${LIQUIBASE_VERSION}.tar.gz" | sha256sum -c - && \
@@ -25,9 +20,16 @@ RUN wget -q -O liquibase-${LIQUIBASE_VERSION}.tar.gz "https://github.com/liquiba
     ln -s /liquibase/docker-entrypoint.sh /usr/local/bin/docker-entrypoint.sh && \
     liquibase --version
     
-ARG LPM_VERSION=0.2.8
-ARG LPM_SHA256=ad46e7f0ca67e39ddbf1435c0bd2879be8a43340c7b627a2da45c07787574200
-ARG LPM_SHA256_ARM=2a2e46f2260f46ccd39f487dca161b4e04d97664160925c5e415bd9b54a23e1a
+ARG LPM_VERSION=0.2.9
+ARG LPM_SHA256=b9caecd34c98a6c19a2bc582e8064aff5251c5f1adbcd100d3403c5eceb5373a
+ARG LPM_SHA256_ARM=0adb3a96d7384b4da549979bf00217a8914f0df37d1ed8fdb1b4a4baebfa104c
+    
+# Add metadata labels
+LABEL org.opencontainers.image.description="Liquibase Container Image"
+LABEL org.opencontainers.image.licenses="Apache-2.0"
+LABEL org.opencontainers.image.vendor="Liquibase"
+LABEL org.opencontainers.image.version="${LIQUIBASE_VERSION}"
+LABEL org.opencontainers.image.documentation="https://docs.liquibase.com"
 
 # Download and Install lpm
 RUN apt-get update && \

Relevant Maintainers:

@tianon tianon merged commit 03c4f00 into docker-library:master May 23, 2025
7 checks passed
gquintard pushed a commit to gquintard/official-images that referenced this pull request Jun 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants