mirror of
				https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
				synced 2025-10-27 23:57:59 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
		
			542 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			542 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| FROM ghcr.io/opentofu/opentofu:1.9-minimal AS tofu
 | |
| 
 | |
| FROM ubuntu:24.04
 | |
|  
 | |
| # Copy the tofu binary
 | |
| COPY --from=tofu /usr/local/bin/tofu /usr/local/bin/tofu
 | |
| 
 | |
| # Install dependencies
 | |
| RUN apt-get update && apt-get install -y \
 | |
|     git \
 | |
|     curl \
 | |
|     nodejs \
 | |
|     npm \
 | |
|     unzip \
 | |
|     && rm -rf /var/lib/apt/lists/*
 | |
| 
 | |
| RUN curl -L -o /tmp/bw.zip https://github.com/bitwarden/cli/releases/download/v1.22.1/bw-linux-1.22.1.zip \
 | |
|     && unzip /tmp/bw.zip -d /usr/local/bin \
 | |
|     && chmod +x /usr/local/bin/bw \
 | |
|     && rm /tmp/bw.zip
 | |
| 
 | |
| 
 | |
| WORKDIR /workspace |