This repository was archived by the owner on Sep 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
github-util: Update FROM version (#199)
* #1 Update version * prepare for versioned release
- Loading branch information
Showing
3 changed files
with
35 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
ARG BASE_IMAGE=senzing/senzingapi-runtime:3.9.0 | ||
ARG BASE_BUILDER_IMAGE=senzing/base-image-debian:1.0.22 | ||
ARG BASE_IMAGE=senzing/senzingapi-runtime:3.10.1 | ||
ARG BASE_BUILDER_IMAGE=senzing/base-image-debian:1.0.23 | ||
|
||
# ----------------------------------------------------------------------------- | ||
# Stage: builder | ||
# ----------------------------------------------------------------------------- | ||
|
||
FROM ${BASE_BUILDER_IMAGE} as builder | ||
|
||
ENV REFRESHED_AT=2024-03-18 | ||
ENV REFRESHED_AT=2024-05-22 | ||
|
||
LABEL Name="senzing/connector-neo4j-builder" \ | ||
Maintainer="[email protected]" \ | ||
Version="0.5.1" | ||
Maintainer="[email protected]" \ | ||
Version="0.5.2" | ||
|
||
# Set environment variables. | ||
|
||
|
@@ -22,35 +22,35 @@ ENV LD_LIBRARY_PATH=${SENZING_ROOT}/g2/lib:${SENZING_ROOT}/g2/lib/debian | |
# Install java-17 | ||
# This is a requirement for neo4j java client 5.0 and higher. | ||
RUN mkdir -p /etc/apt/keyrings \ | ||
&& wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public > /etc/apt/keyrings/adoptium.asc | ||
&& wget -O - https://packages.adoptium.net/artifactory/api/gpg/key/public > /etc/apt/keyrings/adoptium.asc | ||
|
||
RUN echo "deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" >> /etc/apt/sources.list | ||
|
||
RUN apt update \ | ||
&& apt install -y temurin-17-jdk \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
&& apt install -y temurin-17-jdk \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Build "connector-neo4j.jar" | ||
|
||
COPY . /connector-neo4j | ||
WORKDIR /connector-neo4j | ||
|
||
RUN export CONNECTOR_NEO4J_JAR_VERSION=$(mvn "help:evaluate" -Dexpression=project.version -q -DforceStdout) \ | ||
&& make package \ | ||
&& cp /connector-neo4j/target/neo4j-connector-${CONNECTOR_NEO4J_JAR_VERSION}.jar "/neo4j-connector.jar" \ | ||
&& cp -r /connector-neo4j/target/libs "/libs" | ||
&& make package \ | ||
&& cp /connector-neo4j/target/neo4j-connector-${CONNECTOR_NEO4J_JAR_VERSION}.jar "/neo4j-connector.jar" \ | ||
&& cp -r /connector-neo4j/target/libs "/libs" | ||
|
||
# ----------------------------------------------------------------------------- | ||
# Stage: Final | ||
# ----------------------------------------------------------------------------- | ||
|
||
FROM ${BASE_IMAGE} | ||
|
||
ENV REFRESHED_AT=2024-03-18 | ||
ENV REFRESHED_AT=2024-05-22 | ||
|
||
LABEL Name="senzing/connector-neo4j" \ | ||
Maintainer="[email protected]" \ | ||
Version="0.5.1" | ||
Maintainer="[email protected]" \ | ||
Version="0.5.2" | ||
|
||
HEALTHCHECK CMD ["/app/healthcheck.sh"] | ||
|
||
|
@@ -61,9 +61,9 @@ USER root | |
# Install packages via apt. | ||
|
||
RUN apt-get update \ | ||
&& apt-get -y install \ | ||
software-properties-common \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
&& apt-get -y install \ | ||
software-properties-common \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Service exposed on port 8080. | ||
|
||
|