2021-02-18 15:24:51 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-17 01:14:05 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								// https://github.com/microsoft/vscode-dev-containers/tree/v0.195.0/containers/php
 
							 
						 
					
						
							
								
									
										
										
										
											2019-05-01 07:53:21 -07:00 
										
									 
								 
							 
							
								
							 
							
								 
							 
							
							
								{ 
							 
						 
					
						
							
								
									
										
										
										
											2020-08-11 13:21:43 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									"name" :  "PHP" , 
							 
						 
					
						
							
								
									
										
										
										
											2020-07-28 00:24:35 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									"build" :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										"dockerfile" :  "Dockerfile" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										"args" :  {  
							 
						 
					
						
							
								
									
										
										
										
											2021-02-18 07:13:55 -08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
											// Update VARIANT to pick a PHP version: 8, 8.0, 7, 7.4, 7.3
 
							 
						 
					
						
							
								
									
										
										
										
											2021-09-17 01:14:05 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
											// Append -bullseye or -buster to pin to an OS version.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
											// Use -bullseye variants on local on arm64/Apple Silicon.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
											"VARIANT" :  "7-bullseye" , 
							 
						 
					
						
							
								
									
										
										
										
											2020-07-28 00:24:35 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
											"NODE_VERSION" :  "lts/*" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									} , 
							 
						 
					
						
							
								
									
										
										
										
											2022-05-17 12:42:03 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
										
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									// Configure tool-specific properties.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									"customizations" :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										// Configure properties specific to VS Code.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										"vscode" :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
											// Set *default* container specific settings.json values on container create.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
											"settings" :  {  
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
												"php.validate.executablePath" :  "/usr/local/bin/php" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
											} , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
											
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
											// Add the IDs of extensions you want installed when the container is created.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
											"extensions" :  [ 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
												"felixfbecker.php-debug" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
												"bmewburn.vscode-intelephense-client" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
												"mrmlnc.vscode-apache" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
											] 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										} 
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 15:47:41 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									} , 
							 
						 
					
						
							
								
									
										
										
										
											2020-07-28 00:24:35 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2020-04-09 00:54:44 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									// Use 'forwardPorts' to make a list of ports inside the container available locally.
 
							 
						 
					
						
							
								
									
										
										
										
											2021-02-18 07:13:55 -08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									// "forwardPorts": [8080],
 
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 15:47:41 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-04-19 12:36:31 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									// Use 'portsAttributes' to set default properties for specific forwarded ports. More info: https://code.visualstudio.com/docs/remote/devcontainerjson-reference.
 
							 
						 
					
						
							
								
									
										
										
										
											2021-03-16 16:19:56 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									"portsAttributes" :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										"8000" :  { 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
											"label" :  "Hello Remote World" , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
											"onAutoForward" :  "notify" 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
										} 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									} , 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-04-16 13:47:43 -07:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									// Use 'otherPortsAttributes' to configure any ports that aren't configured using 'portsAttributes'.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									// "otherPortsAttributes": {
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									// 		"onAutoForward": "silent"
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									// },
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									// Use 'postCreateCommand' to run commands after the container is created.
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
									// "postCreateCommand": "sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html"
 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2021-02-18 07:13:55 -08:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
 
							 
						 
					
						
							
								
									
										
										
										
											2020-04-09 00:54:44 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
									"remoteUser" :  "vscode" 
							 
						 
					
						
							
								
									
										
										
										
											2019-12-11 15:47:41 +00:00 
										
									 
								 
							 
							
								
									
										 
									 
								
							 
							
								 
							 
							
							
								}