[FIX] Make it Available for MacOS
This will help to choose the right platform to make it available for Apple Chip M1
This commit is contained in:
		
							parent
							
								
									7f1788b597
								
							
						
					
					
						commit
						b53beb287f
					
				@ -31,10 +31,11 @@ RUN apt-get update && \
 | 
			
		||||
        python3-xlrd \
 | 
			
		||||
        python3-xlwt \
 | 
			
		||||
        xz-utils \
 | 
			
		||||
    && curl -o wkhtmltox.deb -sSL https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.buster_amd64.deb \
 | 
			
		||||
    && echo 'ea8277df4297afc507c61122f3c349af142f31e5 wkhtmltox.deb' | sha1sum -c - \
 | 
			
		||||
    && apt-get install -y --no-install-recommends ./wkhtmltox.deb \
 | 
			
		||||
    && rm -rf /var/lib/apt/lists/* wkhtmltox.deb
 | 
			
		||||
 | 
			
		||||
RUN WKH_VERSION=$([ "$(uname -m)" = 'aarch64' ] && echo "arm64" || echo "amd64") \
 | 
			
		||||
  && curl -o wkhtmltox.deb -sSL https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox_0.12.6-1.buster_${WKH_VERSION}.deb \
 | 
			
		||||
  && apt-get install -y --no-install-recommends ./wkhtmltox.deb \
 | 
			
		||||
  && rm -rf /var/lib/apt/lists/* wkhtmltox.deb
 | 
			
		||||
 | 
			
		||||
# install latest postgresql-client
 | 
			
		||||
RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main' > /etc/apt/sources.list.d/pgdg.list \
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user