mirror of
				https://github.com/valentineus/popov.link.git
				synced 2025-11-04 06:49:45 +03:00 
			
		
		
		
	Added Dev Container
This commit is contained in:
		
							
								
								
									
										14
									
								
								.devcontainer/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								.devcontainer/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
				
			|||||||
 | 
					FROM mcr.microsoft.com/devcontainers/base:bookworm
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					RUN apt-get update && apt-get install -y \
 | 
				
			||||||
 | 
					    curl \
 | 
				
			||||||
 | 
					    tar \
 | 
				
			||||||
 | 
					    && apt-get clean \
 | 
				
			||||||
 | 
					    && rm -rf /var/lib/apt/lists/*
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					ENV ZOLA_VERSION=0.19.1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    RUN curl -L https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz -o zola.tar.gz \
 | 
				
			||||||
 | 
					    && tar -xzf zola.tar.gz \
 | 
				
			||||||
 | 
					    && mv zola /bin/zola \
 | 
				
			||||||
 | 
					    && rm zola.tar.gz
 | 
				
			||||||
							
								
								
									
										15
									
								
								.devcontainer/devcontainer.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								.devcontainer/devcontainer.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,15 @@
 | 
				
			|||||||
 | 
					{
 | 
				
			||||||
 | 
					  "name": "Zola Dev Container",
 | 
				
			||||||
 | 
					  "build": {
 | 
				
			||||||
 | 
					    "dockerfile": "Dockerfile"
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  "forwardPorts": [
 | 
				
			||||||
 | 
					    1111
 | 
				
			||||||
 | 
					  ],
 | 
				
			||||||
 | 
					  "portsAttributes": {
 | 
				
			||||||
 | 
					    "1111": {
 | 
				
			||||||
 | 
					      "label": "Application",
 | 
				
			||||||
 | 
					      "onAutoForward": "notify"
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Reference in New Issue
	
	Block a user