| 
									
										
										
										
											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
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											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
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											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
 |