| 
									
										
										
										
											2022-01-28 00:21:20 +01:00
										 |  |  | FROM docker:20.10.8
 | 
					
						
							| 
									
										
										
										
											2016-06-02 12:30:15 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-12-12 23:18:55 +01:00
										 |  |  | RUN apk update && apk add --no-cache \
 | 
					
						
							| 
									
										
										
										
											2019-08-27 17:47:10 +02:00
										 |  |  |   git \
 | 
					
						
							| 
									
										
										
										
											2018-05-04 13:06:23 +02:00
										 |  |  |   openssl \
 | 
					
						
							| 
									
										
										
										
											2022-01-28 00:38:45 +01:00
										 |  |  |   openssl-dev \
 | 
					
						
							| 
									
										
										
										
											2018-05-04 13:06:23 +02:00
										 |  |  |   ca-certificates \
 | 
					
						
							|  |  |  |   bash \
 | 
					
						
							|  |  |  |   curl \
 | 
					
						
							|  |  |  |   make \
 | 
					
						
							|  |  |  |   gcc \
 | 
					
						
							|  |  |  |   g++ \
 | 
					
						
							| 
									
										
										
										
											2022-01-28 00:27:19 +01:00
										 |  |  |   python3 \
 | 
					
						
							| 
									
										
										
										
											2022-01-28 00:38:45 +01:00
										 |  |  |   python3-dev \
 | 
					
						
							| 
									
										
										
										
											2022-01-28 00:27:19 +01:00
										 |  |  |   py3-pip \
 | 
					
						
							| 
									
										
										
										
											2018-05-04 13:06:23 +02:00
										 |  |  |   linux-headers \
 | 
					
						
							|  |  |  |   paxctl \
 | 
					
						
							|  |  |  |   libgcc \
 | 
					
						
							|  |  |  |   libstdc++ \
 | 
					
						
							|  |  |  |   gnupg \
 | 
					
						
							| 
									
										
										
										
											2022-01-28 00:21:20 +01:00
										 |  |  |   nodejs-current \
 | 
					
						
							| 
									
										
										
										
											2022-01-28 00:16:52 +01:00
										 |  |  |   npm \
 | 
					
						
							| 
									
										
										
										
											2019-11-23 21:58:51 +00:00
										 |  |  |   krb5-libs \
 | 
					
						
							| 
									
										
										
										
											2022-01-28 00:38:45 +01:00
										 |  |  |   && update-ca-certificates \
 | 
					
						
							|  |  |  |   rust \
 | 
					
						
							|  |  |  |   docker-cli \
 | 
					
						
							|  |  |  |   libffi-dev \
 | 
					
						
							| 
									
										
										
										
											2022-01-28 00:52:07 +01:00
										 |  |  |   libc-dev \
 | 
					
						
							|  |  |  |   docker-compose
 | 
					
						
							| 
									
										
										
										
											2017-03-29 01:15:29 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-17 12:18:05 +02:00
										 |  |  | RUN apk update && apk add bash libc6-compat alpine-sdk
 | 
					
						
							|  |  |  | ENV PYTHONUNBUFFERED=1 | 
					
						
							|  |  |  | RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
 | 
					
						
							|  |  |  | RUN python3 -m ensurepip
 | 
					
						
							|  |  |  | RUN pip3 install --no-cache --upgrade pip setuptools
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-23 21:53:18 +00:00
										 |  |  | # Add the patch fix
 | 
					
						
							| 
									
										
										
										
											2019-11-23 21:58:13 +00:00
										 |  |  | COPY ./stack-fix.c /lib/
 | 
					
						
							| 
									
										
										
										
											2019-11-23 21:53:18 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-01-28 00:16:52 +01:00
										 |  |  | RUN node -v && npm -v
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2022-10-17 11:52:12 +02:00
										 |  |  | #pnpm
 | 
					
						
							|  |  |  | ENV PNPM_HOME="/root/.local/share/pnpm/pnpm"
 | 
					
						
							|  |  |  | RUN mkdir -p ${PNPM_HOME}
 | 
					
						
							|  |  |  | ENV PATH="$PNPM_HOME:$PATH"
 | 
					
						
							|  |  |  | RUN curl -fsSL "https://github.com/pnpm/pnpm/releases/latest/download/pnpm-linuxstatic-x64" -o /bin/pnpm; chmod +x /bin/pnpm;
 | 
					
						
							|  |  |  | RUN pnpm -v
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-23 21:53:18 +00:00
										 |  |  | # Prepare the libraries packages
 | 
					
						
							|  |  |  | RUN set -ex \
 | 
					
						
							|  |  |  |     && apk add --no-cache  --virtual .build-deps build-base \
 | 
					
						
							|  |  |  |     && gcc  -shared -fPIC /lib/stack-fix.c -o /lib/stack-fix.so \
 | 
					
						
							|  |  |  |     && apk del .build-deps
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # export the environment variable of LD_PRELOAD
 | 
					
						
							|  |  |  | ENV LD_PRELOAD /lib/stack-fix.so
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-06-30 17:04:49 +02:00
										 |  |  | RUN npm config set unsafe-perm true
 |