Skip to content

Commit

Permalink
feat: setup devcontainers
Browse files Browse the repository at this point in the history
  • Loading branch information
RuiFilipeCampos committed Aug 26, 2024
1 parent abadcfc commit faa816f
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Terraform Development Environment",
"image": "ghcr.io/digital-defiance/cloud-infrastructure:latest",
"mounts": [
{
"source": "/etc/localtime",
"target": "/etc/localtime",
"type": "bind"
},
{
"source": "${localWorkspaceFolder}/.devcontainer/resolv.conf",
"target": "/etc/resolv.conf",
"type": "bind"
}
],
}
10 changes: 10 additions & 0 deletions .devcontainer/resolv.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Generated by Docker Engine.
# This file can be edited; Docker Engine will not make further changes once it
# has been modified.

nameserver 8.8.8.8
search Home

# Based on host file: '/run/systemd/resolve/resolv.conf' (legacy)
# Overrides: []

0 comments on commit faa816f

Please sign in to comment.