Skip to content

Commit

Permalink
#844 Prepare for versioned release (#845)
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelsam authored Mar 18, 2024
1 parent de04429 commit 57497a5
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 30 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

-

## [2.2.11] - 2024-03-18

### Changed in 2.2.11

- In `Dockerfile`, updated FROM instruction to `senzing/senzingapi-runtime:3.9.0`
- In `requirements.txt`, updated:
- azure-servicebus==7.12.0
- boto3==1.34.64
- orjson==3.9.15
- psutil==5.9.8

## [2.2.10] - 2023-10-11

### Changed in 2.2.10
Expand Down
56 changes: 26 additions & 30 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,26 +8,22 @@ FROM ${BASE_IMAGE} AS builder

ENV REFRESHED_AT=2024-03-18

LABEL Name="senzing/stream-loader" \
Maintainer="support@senzing.com" \
Version="2.2.10"

# Run as "root" for system installation.

USER root

# Install packages via apt.

RUN apt update \
&& apt -y install \
curl \
libaio1 \
python3 \
python3-dev \
python3-pip \
python3-venv \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*
&& apt -y install \
curl \
libaio1 \
python3 \
python3-dev \
python3-pip \
python3-venv \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*

# Create and activate virtual environment.

Expand All @@ -38,14 +34,14 @@ ENV PATH="/app/venv/bin:$PATH"

COPY requirements.txt .
RUN pip3 install --upgrade pip \
&& pip3 install -r requirements.txt \
&& rm requirements.txt
&& pip3 install -r requirements.txt \
&& rm requirements.txt

# Install senzing_governor.py.

RUN curl -X GET \
--output /opt/senzing/g2/sdk/python/senzing_governor.py \
https://raw.githubusercontent.com/Senzing/governor-postgresql-transaction-id/main/senzing_governor.py
--output /opt/senzing/g2/sdk/python/senzing_governor.py \
https://raw.githubusercontent.com/Senzing/governor-postgresql-transaction-id/main/senzing_governor.py

# -----------------------------------------------------------------------------
# Stage: Final
Expand All @@ -58,8 +54,8 @@ FROM ${BASE_IMAGE} AS runner
ENV REFRESHED_AT=2024-03-18

LABEL Name="senzing/stream-loader" \
Maintainer="support@senzing.com" \
Version="2.2.10"
Maintainer="support@senzing.com" \
Version="2.2.11"

# Define health check.

Expand All @@ -72,17 +68,17 @@ USER root
# Install packages via apt.

RUN apt update \
&& apt -y install \
libaio1 \
libodbc1 \
librdkafka-dev \
libxml2 \
postgresql-client \
python3 \
python3-venv \
unixodbc \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*
&& apt -y install \
libaio1 \
libodbc1 \
librdkafka-dev \
libxml2 \
postgresql-client \
python3 \
python3-venv \
unixodbc \
&& apt clean \
&& rm -rf /var/lib/apt/lists/*

# Copy files from repository.

Expand Down

0 comments on commit 57497a5

Please sign in to comment.