Skip to content

Commit

Permalink
dev: move tf plugin cache dir for devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
sgtoj committed Jul 14, 2023
1 parent 6b0aa98 commit 04a4941
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN apt-get update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# Install Node.js and npm
# Install Node.js
ENV NODE_VERSION=18.x
RUN curl -sL https://deb.nodesource.com/setup_${NODE_VERSION} | bash - && \
apt-get install -y nodejs
Expand Down
6 changes: 3 additions & 3 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"ghcr.io/devcontainers/features/docker-in-docker:2.0.1": {},
},
"containerEnv": {
"TF_PLUGIN_CACHE_DIR": "/workspaces/terraform-docker-artifact-packager/tmp/.terraform.d/"
"TF_PLUGIN_CACHE_DIR": "/workspaces/terraform-docker-artifact-packager/.devcontainer/tmp/.terraform.d/"
},
"customizations": {
"vscode": {
Expand All @@ -32,7 +32,7 @@
"hashicorp.terraform",
"ms-azuretools.vscode-docker",
"VisualStudioExptTeam.vscodeintellicode",
],
]
}
},
}
}
1 change: 0 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ following tools:
- TypeScript
- Docker CLI
- Terraform
- Open Policy Agent

### Prerequisites

Expand Down

0 comments on commit 04a4941

Please # to comment.