| 
									
										
										
										
											2023-11-26 20:29:02 +01:00
										 |  |  | FROM python:3.11-slim-bookworm as development
 | 
					
						
							| 
									
										
										
										
											2023-11-20 17:29:46 +01:00
										 |  |  | WORKDIR /app
 | 
					
						
							| 
									
										
										
										
											2024-01-15 19:20:27 +01:00
										 |  |  | RUN apt-get -y update && apt-get install -yqq dos2unix \
 | 
					
						
							|  |  |  |     libxi6 libgconf-2-4 \
 | 
					
						
							|  |  |  |     tzdata git gcc
 | 
					
						
							|  |  |  | RUN apt-get install -y locales && \
 | 
					
						
							|  |  |  |     sed -i -e 's/# en_GB.UTF-8 UTF-8/en_GB.UTF-8 UTF-8/' /etc/locale.gen && \
 | 
					
						
							|  |  |  |     dpkg-reconfigure --frontend=noninteractive locales && \
 | 
					
						
							|  |  |  |     locale-gen
 | 
					
						
							|  |  |  | ENV LANG en_GB.UTF-8
 | 
					
						
							|  |  |  | ENV LC_ALL en_GB.UTF-8    
 | 
					
						
							|  |  |  | RUN git config --global --add safe.directory /app
 | 
					
						
							| 
									
										
										
										
											2023-11-20 17:29:45 +01:00
										 |  |  | RUN python3 -m pip install --upgrade pip
 | 
					
						
							|  |  |  | RUN python3 -m pip install --user virtualenv
 | 
					
						
							|  |  |  | ENV TZ=Europe/Berlin
 | 
					
						
							|  |  |  | RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
 |