Fix variable issues.
Also made the variables introduced with the psql client consistent with the existing ones. Fixes #1208
This commit is contained in:
@ -626,8 +626,10 @@ RUN if [ ${INSTALL_TERRAFORM} = true ]; then \
|
||||
#####################################
|
||||
# pgsql client
|
||||
#####################################
|
||||
ARG WORKSPACE_PG_CLIENT=false
|
||||
RUN if [ ${WORKSPACE_PG_CLIENT} = true ]; then \
|
||||
USER root
|
||||
ARG INSTALL_PG_CLIENT=false
|
||||
ENV INSTALL_PG_CLIENT ${INSTALL_PG_CLIENT}
|
||||
RUN if [ ${INSTALL_PG_CLIENT} = true ]; then \
|
||||
# Install the pgsql clint
|
||||
apt-get update -yqq && \
|
||||
apt-get -y install postgresql-client \
|
||||
|
Reference in New Issue
Block a user