Skip to content

Commit

Permalink
removed postgresql-client from Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
dmytro-landiak committed Dec 31, 2024
1 parent e0fc457 commit a6522b6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions msa/mqtt-broker/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,8 @@

FROM thingsboard/openjdk17:bookworm-slim


COPY start-tb-mqtt-broker.sh ${pkg.name}.deb /tmp/

RUN apt-get update \
&& apt-get install -y postgresql-client # used for upgrade from version 1.4.0 to 2.0.0. To remove in next release.

RUN chmod a+x /tmp/*.sh \
&& mv /tmp/start-tb-mqtt-broker.sh /usr/bin

Expand Down
3 changes: 1 addition & 2 deletions msa/tbmq/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ RUN apt-get update \
&& chown -R ${pkg.user}:${pkg.user} $DATA_FOLDER \
&& chown -R ${pkg.user}:${pkg.user} /var/log/${pkg.name} \
&& chown -R ${pkg.user}:${pkg.user} /tmp \
&& chmod 555 ${pkg.installFolder}/bin/${pkg.name}.jar \
&& apt-get install -y postgresql-client # used for upgrade from version 1.4.0 to 2.0.0. To remove in next release.
&& chmod 555 ${pkg.installFolder}/bin/${pkg.name}.jar

USER ${pkg.user}

Expand Down

0 comments on commit a6522b6

Please sign in to comment.