Skip to content

Commit

Permalink
Merge pull request #11 from dotmh/feat/add-packer
Browse files Browse the repository at this point in the history
feat: add hashicorp packer to cloud tools
  • Loading branch information
dotmh authored Jan 18, 2025
2 parents 15de4ea + aa50b29 commit b8bc138
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
7.0.0
8.0.0
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,19 @@ Choose the base Image to build on top off

## Cloud

Adds AWS cloud tools to the Base images
Adds cloud tools to the Base images

![AWS](https://img.shields.io/badge/AWS-%23FF9900.svg?style=for-the-badge&logo=amazon-aws&logoColor=white)
![Terraform](https://img.shields.io/badge/terraform-%235835CC.svg?style=for-the-badge&logo=terraform&logoColor=white)
![DigitalOcean](https://img.shields.io/badge/DigitalOcean-%230167ff.svg?style=for-the-badge&logo=digitalOcean&logoColor=white)
![Terraform](https://img.shields.io/badge/terraform-%235835CC.svg?style=for-the-badge&logo=terraform&logoColor=white)
![Packer](https://img.shields.io/badge/packer-%23E7EEF0.svg?style=for-the-badge&logo=packer&logoColor=%2302A8EF)

### Tools

- [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html)
- [Terraform](https://www.terraform.io/)
- [Digital Ocean CLI](https://docs.digitalocean.com/reference/doctl/)
- [Terraform](https://www.terraform.io/)
- [Packer](https://www.packer.io/)

## Node

Expand Down
2 changes: 1 addition & 1 deletion containers/Cloud.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARG digitalocean_cli_version=1.110.0
# Install Terraform
RUN wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg &&\
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list &&\
sudo apt update && sudo apt install terraform
sudo apt update && sudo apt install terraform && sudo apt install packer

# Install AWS
RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" &&\
Expand Down
2 changes: 1 addition & 1 deletion containers/Rocky.Cloud.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG digitalocean_cli_version=1.110.0

# Install Terraform
RUN dnf config-manager --add-repo https://rpm.releases.hashicorp.com/RHEL/hashicorp.repo &&\
dnf -y install terraform
dnf -y install terraform && dnf -y install packer

# Install AWS
RUN dnf -y install unzip &&\
Expand Down
2 changes: 1 addition & 1 deletion devcontainers/base/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "base",
"name": "DotMH Base Dev Container",
"version": "7.0.0",
"version": "8.0.0",
"publisher": "DotMH <oss+devcontainer@dotmh.io>",
"description": "The base dev container for interacting with the base container image",
"licenseURL": "https://github.com/dotmh/devcontainer/blob/main/LICENSE",
Expand Down
4 changes: 3 additions & 1 deletion devcontainers/cloud/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,9 @@ A very simply base template it is just the OS ether Ubuntu or Rocky Linux with s
![Static Badge](https://img.shields.io/badge/Rocky_Linux-10B981?style=for-the-badge&logo=rockylinux&logoColor=%23FFFFFF)
![Static Badge](https://img.shields.io/badge/Ubuntu-E95420?style=for-the-badge&logo=ubuntu&logoColor=%23FFFFFF)
![AWS](https://img.shields.io/badge/AWS-%23FF9900.svg?style=for-the-badge&logo=amazon-aws&logoColor=white)
![Terraform](https://img.shields.io/badge/terraform-%235835CC.svg?style=for-the-badge&logo=terraform&logoColor=white)
![DigitalOcean](https://img.shields.io/badge/DigitalOcean-%230167ff.svg?style=for-the-badge&logo=digitalOcean&logoColor=white)
![Terraform](https://img.shields.io/badge/terraform-%235835CC.svg?style=for-the-badge&logo=terraform&logoColor=white)
![Packer](https://img.shields.io/badge/packer-%23E7EEF0.svg?style=for-the-badge&logo=packer&logoColor=%2302A8EF)

- [Rocky Linux](https://rockylinux.org/)
- [Ubuntu](https://ubuntu.com/)
Expand All @@ -21,6 +22,7 @@ A very simply base template it is just the OS ether Ubuntu or Rocky Linux with s
- [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html)
- [Digital Ocean CLI](https://docs.digitalocean.com/reference/doctl/)
- [Terraform](https://www.terraform.io/)
- [Packer](https://www.packer.io/)

## Usage

Expand Down
2 changes: 1 addition & 1 deletion devcontainers/cloud/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "cloud",
"name": "DotMH Cloud Dev Container",
"version": "7.0.0",
"version": "8.0.0",
"publisher": "DotMH <oss+devcontainer@dotmh.io>",
"description": "The cloud dev container for interacting with the cloud container image",
"licenseURL": "https://github.com/dotmh/devcontainer/blob/main/LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion devcontainers/go/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "go",
"name": "DotMH Go Dev Container",
"version": "7.0.0",
"version": "8.0.0",
"publisher": "DotMH <oss+devcontainer@dotmh.io>",
"description": "The Go dev container for developing with Go",
"licenseURL": "https://github.com/dotmh/devcontainer/blob/main/LICENSE",
Expand Down
2 changes: 1 addition & 1 deletion devcontainers/kotlin/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "kotlin",
"name": "DotMH Kotlin Dev Container",
"version": "7.0.0",
"version": "8.0.0",
"publisher": "DotMH <oss+devcontainer@dotmh.io>",
"description": "The Kotlin dev container for developing with Kotlin",
"licenseURL": "https://github.com/dotmh/devcontainer/blob/main/LICENSE",
Expand Down
4 changes: 3 additions & 1 deletion devcontainers/node/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,14 @@ A Devcontainer for use with NodeJS development, optionally with tools for workin
### When Using Cloud containers as the base

![AWS](https://img.shields.io/badge/AWS-%23FF9900.svg?style=for-the-badge&logo=amazon-aws&logoColor=white)
![Terraform](https://img.shields.io/badge/terraform-%235835CC.svg?style=for-the-badge&logo=terraform&logoColor=white)
![DigitalOcean](https://img.shields.io/badge/DigitalOcean-%230167ff.svg?style=for-the-badge&logo=digitalOcean&logoColor=white)
![Terraform](https://img.shields.io/badge/terraform-%235835CC.svg?style=for-the-badge&logo=terraform&logoColor=white)
![Packer](https://img.shields.io/badge/packer-%23E7EEF0.svg?style=for-the-badge&logo=packer&logoColor=%2302A8EF)

- [AWS CLI](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-welcome.html)
- [Digital Ocean CLI](https://docs.digitalocean.com/reference/doctl/)
- [Terraform](https://www.terraform.io/)
- [Packer](https://www.packer.io/)

## Visual Studio Extentions

Expand Down
2 changes: 1 addition & 1 deletion devcontainers/node/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "node",
"name": "DotMH Node Dev Container",
"version": "7.0.0",
"version": "8.0.0",
"publisher": "DotMH <oss+devcontainer@dotmh.io>",
"description": "The Node dev container for developing with Node and PNPM",
"licenseURL": "https://github.com/dotmh/devcontainer/blob/main/LICENSE",
Expand Down

0 comments on commit b8bc138

Please # to comment.