Skip to content

Commit

Permalink
#11 Fixed symbolic links
Browse files Browse the repository at this point in the history
  • Loading branch information
docktermj committed Aug 11, 2020
1 parent 5d06085 commit bd04738
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 9 deletions.
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.0.2] - 2020-08-11

### Changed in 1.0.2

- Fixed symbolic link issue with `libdb2o.so` and `libdb2.so`

## [1.0.1] - 2020-01-30

### Changed in 1.0.1
Expand Down
15 changes: 8 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ ARG BASE_IMAGE=debian:10.2

FROM ${BASE_IMAGE} as db2_builder

ENV REFRESHED_AT=2019-08-06
ENV REFRESHED_AT=2020-08-11

LABEL Name="senzing/senzing-db2-builder" \
Version="1.0.1"
Version="1.0.2"

# Install packages via apt.

Expand All @@ -31,14 +31,14 @@ RUN unzip -d /tmp/extracted-jdbc /tmp/db2-jdbc-sqlj/jdbc_sqlj/db2_db2driver_for_
# Final stage
# -----------------------------------------------------------------------------

ARG BASE_IMAGE=debian:9
ARG BASE_IMAGE=debian:10.2
FROM ${BASE_IMAGE}

ENV REFRESHED_AT=2019-08-06
ENV REFRESHED_AT=2020-08-11

LABEL Name="senzing/db2-driver-installer" \
Maintainer="support@senzing.com" \
Version="1.0.0"
Version="1.0.2"

HEALTHCHECK CMD ["/app/healthcheck.sh"]

Expand Down Expand Up @@ -141,8 +141,9 @@ COPY --from=db2_builder [ \

# Create files and links.

RUN ln -s /opt/IBM-template/db2/clidriver/lib/libdb2.so.1 /opt/IBM-template/db2/clidriver/lib/libdb2.so \
&& ln -s /opt/IBM-template/db2/clidriver/lib/libdb2o.so.1 /opt/IBM-template/db2/clidriver/lib/libdb2o.so
WORKDIR /opt/IBM-template/db2/clidriver/lib
RUN ln -s libdb2.so.1 libdb2.so \
&& ln -s libdb2o.so.1 libdb2o.so

# Runtime execution.

Expand Down
9 changes: 7 additions & 2 deletions db2-driver-installer.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
import zipfile

__all__ = []
__version__ = "1.0.0" # See https://www.python.org/dev/peps/pep-0396/
__version__ = "1.0.2" # See https://www.python.org/dev/peps/pep-0396/
__date__ = '2019-08-06'
__updated__ = '2019-09-23'
__updated__ = '2020-08-11'

SENZING_PRODUCT_ID = "5008" # See https://github.com/Senzing/knowledge-base/blob/master/lists/senzing-product-ids.md
log_format = '%(asctime)s %(message)s'
Expand Down Expand Up @@ -251,6 +251,11 @@ def get_configuration(args):
if value:
result[new_key] = value

# Add program information.

result['program_version'] = __version__
result['program_updated'] = __updated__

# Special case: subcommand from command-line

if args.subcommand:
Expand Down

0 comments on commit bd04738

Please sign in to comment.