-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
18 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,14 @@ | ||
FROM gruntwork/terragrunt:0.2.0 | ||
|
||
ARG VERSION=v0.0.3-rc2024081902 | ||
ARG PLATFORM=linux_amd64 | ||
ENV LISTEN_ADDRESS=0.0.0.0:50051 | ||
|
||
RUN apt-get update && apt-get install -y wget | ||
|
||
RUN mise use --global -y [email protected] | ||
RUN ln -s /root/.local/share/mise/installs/opentofu/1.7.0/bin/tofu /bin/tofu | ||
RUN mkdir /app | ||
ADD server/terragrunt-engine-server /app/terragrunt-engine-server | ||
|
||
RUN wget https://github.com/gruntwork-io/terragrunt-engine-go/releases/download/${VERSION}/terragrunt-iac-engine-server_${PLATFORM} -O /app/terragrunt-engine-server | ||
RUN chmod +x /app/terragrunt-engine-server | ||
ENTRYPOINT ["/app/terragrunt-engine-server"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
|
||
version: '3' | ||
services: | ||
terragrunt-engine-server: | ||
build: | ||
context: . | ||
dockerfile: Dockerfile | ||
environment: | ||
TOKEN: secret-token | ||
volumes: | ||
# Update path to allow tofu access from container to working directory | ||
- $PWD:$PWD | ||
ports: | ||
- "0.0.0.0:50051:50051" |