Upgraded pg client tools to version 10 to support my postgresql server 10
This commit is contained in:
		@@ -6,6 +6,12 @@ LABEL maintainer="Paulino Padial <github.com/ppadial>"
 | 
				
			|||||||
# Environment variables (with default values)
 | 
					# Environment variables (with default values)
 | 
				
			||||||
ENV CRON_LOG_LEVEL=8
 | 
					ENV CRON_LOG_LEVEL=8
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# PostgreSQL 10 repository install
 | 
				
			||||||
 | 
					RUN apt-get update && apt-get upgrade -y && \
 | 
				
			||||||
 | 
					    apt-get install -y wget lsb-release && \
 | 
				
			||||||
 | 
					    wget -q https://www.postgresql.org/media/keys/ACCC4CF8.asc -O - | apt-key add - && \
 | 
				
			||||||
 | 
					    echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Packages installation
 | 
					# Packages installation
 | 
				
			||||||
RUN apt-get update && apt-get upgrade -y && \
 | 
					RUN apt-get update && apt-get upgrade -y && \
 | 
				
			||||||
    apt-get install -y autopostgresqlbackup cron bzip2 gzip postgresql-client && \
 | 
					    apt-get install -y autopostgresqlbackup cron bzip2 gzip postgresql-client && \
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,18 +1,3 @@
 | 
				
			|||||||
# ===============================
 | 
					 | 
				
			||||||
# === Debian specific options ===
 | 
					 | 
				
			||||||
#================================
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
# By default, on Debian systems, only 'postgres' user
 | 
					 | 
				
			||||||
# is allowed to access PostgreSQL databases without password.
 | 
					 | 
				
			||||||
# In order to dump databases we need to run pg_dump/psql
 | 
					 | 
				
			||||||
# commands as 'postgres' with su.
 | 
					 | 
				
			||||||
#
 | 
					 | 
				
			||||||
# The following setting has been added to workraound this issue.
 | 
					 | 
				
			||||||
# (if it is set to empty, 'su' usage will be disabled)
 | 
					 | 
				
			||||||
# For the docker container this value is root, since is the user that
 | 
					 | 
				
			||||||
# runs the process
 | 
					 | 
				
			||||||
SU_USERNAME=root
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
#=====================================================================
 | 
					#=====================================================================
 | 
				
			||||||
# Set the following variables to your system needs
 | 
					# Set the following variables to your system needs
 | 
				
			||||||
# (Detailed instructions below variables)
 | 
					# (Detailed instructions below variables)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user