Skip to content

Commit

Permalink
DBZ-7385 add env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
eizners authored and jpechane committed Jan 31, 2024
1 parent fb30852 commit 5914396
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 5 additions & 1 deletion server/2.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@ RUN chmod -R g+w,o+w $SERVER_HOME
# Stage 2: Final image
FROM registry.access.redhat.com/ubi8/openjdk-11

ENV SERVER_HOME=/debezium
LABEL maintainer="Debezium Community"

ENV DEBEZIUM_VERSION=2.6.0.Alpha1 \
SERVER_HOME=/debezium \
MAVEN_REPO_CENTRAL="https://repo1.maven.org/maven2"

USER root
RUN microdnf clean all
Expand Down
1 change: 1 addition & 0 deletions server/2.6/Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ RUN chmod -R g+w,o+w $SERVER_HOME
# Stage 2: Final image
FROM registry.access.redhat.com/ubi8/openjdk-11

LABEL maintainer="Debezium Community"
ENV SERVER_HOME=/debezium

USER root
Expand Down
5 changes: 4 additions & 1 deletion server/snapshot/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,10 @@ RUN chmod -R g+w,o+w $SERVER_HOME
# Stage 2: Final image
FROM registry.access.redhat.com/ubi8/openjdk-11

ENV SERVER_HOME=/debezium
LABEL maintainer="Debezium Community"
ENV DEBEZIUM_VERSION=$DEBEZIUM_VERSION \
SERVER_HOME=/debezium \
MAVEN_OSS_SNAPSHOT="https://oss.sonatype.org/content/repositories/snapshots"

USER root
RUN microdnf clean all
Expand Down

0 comments on commit 5914396

Please sign in to comment.