Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/docker/scout-actio…
Browse files Browse the repository at this point in the history
…n-1.16.1
  • Loading branch information
jnewton03 authored Jan 24, 2025
2 parents c11935e + 5f232bc commit 2cb4128
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ FROM eclipse-temurin:17-jre-jammy

# Create liquibase user
RUN groupadd --gid 1001 liquibase && \
useradd --uid 1001 --gid liquibase liquibase && \
mkdir /liquibase && chown liquibase /liquibase
useradd --uid 1001 --gid liquibase --create-home --home-dir /liquibase liquibase && \
chown liquibase /liquibase

# Install necessary dependencies
#RUN apt-get update && \
Expand All @@ -14,8 +14,8 @@ RUN groupadd --gid 1001 liquibase && \
# Download and install Liquibase
WORKDIR /liquibase

ARG LIQUIBASE_VERSION=4.30.0
ARG LB_SHA256=184ffd609518091da42d6cd75e883b4f6ff1763cce8883e95fc99f7f05ca262d
ARG LIQUIBASE_VERSION=4.31.0
ARG LB_SHA256=ffcf80c34c8b05a50c32c423ad2899aa9e7a5cd40097628f2bc739b70654962d

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 - && \
Expand Down
8 changes: 4 additions & 4 deletions Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@ FROM alpine:3.20

# Create liquibase user
RUN addgroup --gid 1001 liquibase && \
adduser --disabled-password --uid 1001 --ingroup liquibase liquibase && \
mkdir /liquibase && chown liquibase /liquibase
adduser --disabled-password --uid 1001 --ingroup liquibase --home /liquibase liquibase && \
chown liquibase /liquibase

# Install smaller JRE, if available and acceptable
RUN apk add --no-cache openjdk17-jre-headless bash

WORKDIR /liquibase

ARG LIQUIBASE_VERSION=4.30.0
ARG LB_SHA256=184ffd609518091da42d6cd75e883b4f6ff1763cce8883e95fc99f7f05ca262d
ARG LIQUIBASE_VERSION=4.31.0
ARG LB_SHA256=ffcf80c34c8b05a50c32c423ad2899aa9e7a5cd40097628f2bc739b70654962d

# Download, verify, extract
RUN set -x && \
Expand Down

0 comments on commit 2cb4128

Please sign in to comment.