start with compose.yml
This commit is contained in:
commit
9ce5ca42ce
2 changed files with 16 additions and 0 deletions
2
README.md
Normal file
2
README.md
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
# compose spec based containerized setup for tf/opentofu
|
||||||
|
|
14
compose.yml
Normal file
14
compose.yml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
services:
|
||||||
|
terraform:
|
||||||
|
volumes:
|
||||||
|
- ./terraformdata:/terraformdata
|
||||||
|
build:
|
||||||
|
dockerfile_inline: |
|
||||||
|
FROM alpine:latest
|
||||||
|
RUN apk update
|
||||||
|
RUN apk add aws-cli-bash-completion aws-cli bash bash-completion
|
||||||
|
RUN apk add opentofu
|
||||||
|
RUN echo "complete -C '$(which aws_completer)' aws" >> /etc/bash/bashrc
|
||||||
|
ENTRYPOINT ["/bin/bash"]
|
||||||
|
WORKDIR /terraformdata
|
||||||
|
|
Loading…
Add table
Reference in a new issue