mirror of
				https://gitlab.com/alemaire/buildx.git
				synced 2025-01-17 13:58:19 +00:00 
			
		
		
		
	add unifi
This commit is contained in:
		| @@ -33,7 +33,7 @@ COPY --from=pg12-builder /usr/lib/postgresql/12/bin/pg_restore /usr/local/pgsql/ | ||||
| COPY --from=pg12-builder /usr/lib/postgresql/12/bin/psql /usr/local/pgsql/pgsql-12/ | ||||
|  | ||||
|  | ||||
| FROM debian:stable-20200720-slim | ||||
| FROM debian:bullseye-20200720-slim | ||||
| ARG DEBIAN_FRONTEND=noninteractive | ||||
| ADD https://curl.haxx.se/ca/cacert.pem /etc/ssl/certs/cacert.pem | ||||
| ENV CURL_CA_BUNDLE=/etc/ssl/certs/cacert.pem | ||||
| @@ -42,12 +42,14 @@ COPY --from=tool-builder /usr/local/pgsql /usr/local/ | ||||
|  | ||||
| ARG TARGETARCH | ||||
| ARG VERSION=4.24 | ||||
| ARG GUNICORN_VERSION=20.0.4 | ||||
|  | ||||
| RUN export GH_VERSION=$(echo ${VERSION} | tr '.' '_') && \ | ||||
|     apt update -qq && \ | ||||
|     apt install -qqy --no-install-recommends curl python3-pip python3-nacl python3-openssl python3-bcrypt python3-cffi python3-psycopg2 python3-psutil python3-sshtunnel python3-dev python3-setuptools libpq-dev build-essential libffi-dev && \ | ||||
|     pip3 install --no-cache-dir pgadmin4==${VERSION} gunicorn==${GUNICORN_VERSION} && \ | ||||
|     apt install -qqy --no-install-recommends curl python3-pip gunicorn build-essential python3-dev && \ | ||||
|     apt install -qqy --no-install-recommends python3-flask-mail python3-flask-principal python3-flask-compress && \ | ||||
|     apt install -qqy --no-install-recommends python3-blinker python3-werkzeug python3-passlib python3-six && \ | ||||
|     apt install -qqy --no-install-recommends python3-speaklater python3-wtforms python3-sqlalchemy python3-sshtunnel python3-ldap3 && \ | ||||
|     pip3 install --no-cache-dir pgadmin4==${VERSION} && \ | ||||
|     ln -s /usr/local/lib/python3.7/dist-packages/pgadmin4 /pgadmin4 && \ | ||||
|     ln -s /usr/bin/python3 /usr/bin/python && \ | ||||
|     groupadd -g 5050 pgadmin && \ | ||||
| @@ -63,6 +65,7 @@ RUN export GH_VERSION=$(echo ${VERSION} | tr '.' '_') && \ | ||||
|     chmod +x /entrypoint.sh && \ | ||||
|     apt remove -qqy python3-dev python3-pip libpq-dev build-essential libffi-dev curl && \ | ||||
|     apt autoremove -qqy && rm -rf /var/lib/apt/lists/* | ||||
|  | ||||
| WORKDIR /pgadmin4 | ||||
| USER 5050 | ||||
| VOLUME /var/lib/pgadmin | ||||
|   | ||||
		Reference in New Issue
	
	Block a user