feat(Dockerfile): Add installation of Bun and Deno for enhanced runtime support
This commit is contained in:
		
							
								
								
									
										11
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								Dockerfile
									
									
									
									
									
								
							| @@ -27,6 +27,7 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio | |||||||
|         rsync \ |         rsync \ | ||||||
|         ssh \ |         ssh \ | ||||||
|         wget \ |         wget \ | ||||||
|  |         unzip \ | ||||||
|         # puppeteer |         # puppeteer | ||||||
|         gconf-service \ |         gconf-service \ | ||||||
|         libasound2 \ |         libasound2 \ | ||||||
| @@ -120,6 +121,16 @@ RUN nvm install $NODE_VERSION_STABLE \ | |||||||
| ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_STABLE/lib/node_modules | ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_STABLE/lib/node_modules | ||||||
| ENV PATH      $NVM_DIR/versions/node/v$NODE_VERSION_STABLE/bin:$PATH | ENV PATH      $NVM_DIR/versions/node/v$NODE_VERSION_STABLE/bin:$PATH | ||||||
|  |  | ||||||
|  | # Install Bun | ||||||
|  | RUN curl -fsSL https://bun.sh/install | bash | ||||||
|  | ENV BUN_INSTALL="/root/.bun" | ||||||
|  | ENV PATH="$BUN_INSTALL/bin:$PATH" | ||||||
|  |  | ||||||
|  | # Install Deno | ||||||
|  | RUN curl -fsSL https://deno.land/install.sh | sh | ||||||
|  | ENV DENO_INSTALL="/root/.deno" | ||||||
|  | ENV PATH="$DENO_INSTALL/bin:$PATH" | ||||||
|  |  | ||||||
| # Set entrypoint to make nvm available in all runtime contexts | # Set entrypoint to make nvm available in all runtime contexts | ||||||
| ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"] | ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"] | ||||||
| CMD ["bash"] | CMD ["bash"] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user