Skip to content

Commit

Permalink
github-util: Update FROM version (#93)
Browse files Browse the repository at this point in the history
* #1 Update version

* Add possibly-used-before-assignment

* prepare for versioned release

---------

Co-authored-by: Michael Dockter <michael@dockter.com>
  • Loading branch information
kernelsam and docktermj authored May 22, 2024
1 parent 3726ea8 commit a1a330f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 14 deletions.
1 change: 1 addition & 0 deletions .pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ disable=
missing-class-docstring,
missing-function-docstring,
missing-module-docstring,
possibly-used-before-assignment,
protected-access,
redefined-outer-name,
simplifiable-if-statement,
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
[markdownlint](https://dlaa.me/markdownlint/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.3.2] - 2024-05-22

### Changed in 1.3.2

- In `Dockerfile`, updated FROM instruction to `senzing/senzingapi-runtime:3.10.1`

## [1.3.1] - 2023-12-19

### Changed in 1.3.1
Expand Down
28 changes: 14 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
ARG BASE_IMAGE=senzing/senzingapi-runtime:3.9.0
ARG BASE_IMAGE=senzing/senzingapi-runtime:3.10.1
FROM ${BASE_IMAGE}

ENV REFRESHED_AT=2024-03-18
ENV REFRESHED_AT=2024-05-22

LABEL Name="senzing/SzFileLoader" \
Maintainer="support@senzing.com" \
Version="1.3.0"
Maintainer="support@senzing.com" \
Version="1.3.2"

# Run as "root" for system installation.

Expand All @@ -14,25 +14,25 @@ USER root
# Install packages via apt.

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

# Install packages via pip.

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

# Copy files from repository.

Expand Down

0 comments on commit a1a330f

Please sign in to comment.