mirror of
				https://github.com/jakeswenson/BitBetter.git
				synced 2025-10-31 04:43:25 +00:00 
			
		
		
		
	Enable buildkit
This commit is contained in:
		
							parent
							
								
									9bc010cb57
								
							
						
					
					
						commit
						767f4a3846
					
				|  | @ -4,6 +4,10 @@ $PSNativeCommandUseErrorActionPreference = $true | |||
| # detect buildx, ErrorActionPreference will ensure the script stops execution if not found | ||||
| docker buildx version | ||||
| 
 | ||||
| # Enable BuildKit for better build experience and to ensure platform args are populated | ||||
| $env:DOCKER_BUILDKIT=1 | ||||
| $env:COMPOSE_DOCKER_CLI_BUILD=1 | ||||
| 
 | ||||
| # define temporary directory | ||||
| $tempdirectory = "$pwd\temp" | ||||
| # define services to patch | ||||
|  |  | |||
							
								
								
									
										4
									
								
								build.sh
									
									
									
									
									
								
							
							
						
						
									
										4
									
								
								build.sh
									
									
									
									
									
								
							|  | @ -4,6 +4,10 @@ set -e | |||
| # detect buildx, set -e will ensure the script stops execution if not found | ||||
| docker buildx version | ||||
| 
 | ||||
| # Enable BuildKit for better build experience and to ensure platform args are populated | ||||
| export DOCKER_BUILDKIT=1 | ||||
| export COMPOSE_DOCKER_CLI_BUILD=1 | ||||
| 
 | ||||
| # define temporary directory | ||||
| TEMPDIRECTORY="$PWD/temp" | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user