mirror of
				https://gitlab.com/alemaire/buildx.git
				synced 2025-01-17 13:58:19 +00:00 
			
		
		
		
	move psycopg2_binary to pip
This commit is contained in:
		| @@ -44,9 +44,9 @@ ARG TARGETARCH | ||||
| ARG VERSION=4.24 | ||||
| ARG GUNICORN_VERSION=20.0.4 | ||||
|  | ||||
| RUN apt update -qq && apt install -qqy --no-install-recommends python3-pip python3-dev python3-setuptools python3-psycopg2 gcc && \ | ||||
|     pip3 install --no-cache-dir pgadmin4==${VERSION} gunicorn==${GUNICORN_VERSION} && \ | ||||
|     apt remove -qqy gcc python3-dev python3-pip python3-psycopg2 && apt autoremove -qqy && rm -rf /var/lib/apt/lists/* && \ | ||||
| RUN apt update -qq && apt install -qqy --no-install-recommends python3-pip python3-dev python3-setuptools gcc && \ | ||||
|     pip3 install --no-cache-dir pgadmin4==${VERSION} gunicorn==${GUNICORN_VERSION} psycopg2_binary && \ | ||||
|     apt remove -qqy gcc python3-dev python3-pip && apt autoremove -qqy && rm -rf /var/lib/apt/lists/* && \ | ||||
|     ln -s /usr/local/lib/python3.7/dist-packages/pgadmin4 /pgadmin4 && \ | ||||
|     ln -s /usr/bin/python3 /usr/bin/python && \ | ||||
|     groupadd -g 5050 pgadmin && \ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user