mirror of
				https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
				synced 2025-11-04 15:16:12 +00:00 
			
		
		
		
	fixed mariadb-client installation
ref. https://github.com/PyMySQL/mysqlclient/discussions/624
This commit is contained in:
		@@ -7,8 +7,8 @@ RUN echo -e "VERSION=$VERSION\nCOMMIT=$COMMIT" > /version.env
 | 
				
			|||||||
COPY requirements.txt /tmp/requirements.txt
 | 
					COPY requirements.txt /tmp/requirements.txt
 | 
				
			||||||
 | 
					
 | 
				
			||||||
RUN apk update \
 | 
					RUN apk update \
 | 
				
			||||||
 && apk add --no-cache --virtual build-deps gcc g++ python3-dev musl-dev pkgconf \
 | 
					 && apk add --no-cache --virtual build-deps gcc g++ python3-dev musl-dev pkgconfig \
 | 
				
			||||||
 && apk add --no-cache curl postgresql postgresql-dev mariadb-connector-c-dev sqlite-dev \
 | 
					 && apk add --no-cache curl postgresql postgresql-dev mariadb-dev sqlite-dev \
 | 
				
			||||||
 && pip install --no-cache-dir --upgrade uvicorn \
 | 
					 && pip install --no-cache-dir --upgrade uvicorn \
 | 
				
			||||||
 && pip install --no-cache-dir psycopg2==2.9.6 mysqlclient==2.2.0 pysqlite3==0.5.1 \
 | 
					 && pip install --no-cache-dir psycopg2==2.9.6 mysqlclient==2.2.0 pysqlite3==0.5.1 \
 | 
				
			||||||
 && pip install --no-cache-dir -r /tmp/requirements.txt \
 | 
					 && pip install --no-cache-dir -r /tmp/requirements.txt \
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user