| 
									
										
										
										
											2019-08-27 17:47:10 +02:00
										 |  |  | FROM docker:19.03.1
 | 
					
						
							| 
									
										
										
										
											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 \
 | 
					
						
							|  |  |  |   ca-certificates \
 | 
					
						
							|  |  |  |   bash \
 | 
					
						
							|  |  |  |   curl \
 | 
					
						
							|  |  |  |   make \
 | 
					
						
							|  |  |  |   gcc \
 | 
					
						
							|  |  |  |   g++ \
 | 
					
						
							|  |  |  |   python \
 | 
					
						
							|  |  |  |   linux-headers \
 | 
					
						
							|  |  |  |   paxctl \
 | 
					
						
							|  |  |  |   libgcc \
 | 
					
						
							|  |  |  |   libstdc++ \
 | 
					
						
							|  |  |  |   gnupg \
 | 
					
						
							|  |  |  |   nodejs \
 | 
					
						
							| 
									
										
										
										
											2018-12-12 23:18:55 +01:00
										 |  |  |   nodejs-npm \
 | 
					
						
							| 
									
										
										
										
											2018-05-04 13:06:23 +02:00
										 |  |  |   && update-ca-certificates
 | 
					
						
							| 
									
										
										
										
											2017-03-29 01:15:29 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-11-23 21:53:18 +00:00
										 |  |  | # Add the patch fix
 | 
					
						
							|  |  |  | COPY common/stack-fix.c /lib/
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | # 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
 |