Browse Source

Fix postgresql distribution config in docker files

pull/4088/head
Igor Kulikov 6 years ago
parent
commit
b6299623fe
  1. 2
      msa/tb/docker-cassandra/Dockerfile
  2. 2
      msa/tb/docker-postgres/Dockerfile

2
msa/tb/docker-cassandra/Dockerfile

@ -18,7 +18,7 @@ FROM thingsboard/openjdk8
RUN apt-get update
RUN apt-get install -y curl nmap procps
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' | tee --append /etc/apt/sources.list.d/pgdg.list > /dev/null
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ sid-pgdg main' | tee --append /etc/apt/sources.list.d/pgdg.list > /dev/null
RUN curl -L https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
RUN echo 'deb http://www.apache.org/dist/cassandra/debian 311x main' | tee --append /etc/apt/sources.list.d/cassandra.list > /dev/null
RUN curl -L https://www.apache.org/dist/cassandra/KEYS | apt-key add -

2
msa/tb/docker-postgres/Dockerfile

@ -18,7 +18,7 @@ FROM thingsboard/openjdk8
RUN apt-get update
RUN apt-get install -y curl
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main' | tee --append /etc/apt/sources.list.d/pgdg.list > /dev/null
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ sid-pgdg main' | tee --append /etc/apt/sources.list.d/pgdg.list > /dev/null
RUN curl -L https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
ENV PG_MAJOR 11
RUN apt-get update

Loading…
Cancel
Save