Skip to content

Commit

Permalink
Support postgres database (#266)
Browse files Browse the repository at this point in the history
Add postgres Driver needed for PG.pm module.
  • Loading branch information
sidey79 authored Sep 4, 2024
2 parents 4a49eac + e42fe57 commit 4a2d837
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions Dockerfile-bullseye
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# base layer with perl and some general preparations
#
FROM perl:5.36.3-slim-bullseye AS base
FROM perl:5.36.3-slim-bullseye@sha256:b1e1930cd1377c8db81226d3c65e7bd825f0c9f08b7daa838992692c8504dc19 AS base

ARG TARGETPLATFORM

Expand Down Expand Up @@ -46,7 +46,7 @@ EOF
# Install all CPAN Modules, needed from FHEM and standard modules
#

FROM perl:5.36.3-bullseye AS build-cpan
FROM perl:5.36.3-bullseye@sha256:4edb499288f40881a320dd95df1fa6656991226f67b9131818b0c785c97faa31 AS build-cpan

COPY cpanfile /usr/src/app/core/cpanfile

Expand Down Expand Up @@ -148,7 +148,8 @@ RUN <<EOF
bash \
libgd3 \
librsvg2-2 \
iproute2
iproute2 \
libpq5
LC_ALL=C apt-get autoremove -qqy && LC_ALL=C apt-get clean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.[^.] ~/.??* ~/*
EOF
Expand Down
7 changes: 4 additions & 3 deletions Dockerfile-threaded-bullseye
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#
# base layer with perl and some general preparations
#
FROM perl:5.36.3-slim-threaded-bullseye AS base
FROM perl:5.36.3-slim-threaded-bullseye@sha256:51d5c5c317a508676d6e0790a1a8b9fc2d17c1def80e67b297b3ae91bd19ba89 AS base

ARG TARGETPLATFORM

Expand Down Expand Up @@ -46,7 +46,7 @@ EOF
# Install all CPAN Modules, needed from FHEM and standard modules
#

FROM perl:5.36.3-threaded-bullseye AS build-cpan
FROM perl:5.36.3-threaded-bullseye@sha256:b975af4332429b522c3b848bcf2a1c99b2b1b7355a796359810313956b3a7e5d AS build-cpan

COPY cpanfile /usr/src/app/core/cpanfile

Expand Down Expand Up @@ -147,7 +147,8 @@ RUN <<EOF
bash \
libgd3 \
librsvg2-2 \
iproute2
iproute2 \
libpq5
LC_ALL=C apt-get autoremove -qqy && LC_ALL=C apt-get clean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.[^.] ~/.??* ~/*
EOF
Expand Down

0 comments on commit 4a2d837

Please sign in to comment.