From fa0756218e6047cce4a56b45263451c0ef892ee2 Mon Sep 17 00:00:00 2001 From: saul365 Date: Wed, 28 Feb 2024 16:44:00 -0600 Subject: [PATCH] Add images for terraform deployment and pushing images to gcp --- gitea-dind-gcloud.Dockerfile | 7 +++++++ gitea-tf-gcloud.Dockerfile | 7 +++++++ 2 files changed, 14 insertions(+) create mode 100644 gitea-dind-gcloud.Dockerfile create mode 100644 gitea-tf-gcloud.Dockerfile diff --git a/gitea-dind-gcloud.Dockerfile b/gitea-dind-gcloud.Dockerfile new file mode 100644 index 0000000..4d0330c --- /dev/null +++ b/gitea-dind-gcloud.Dockerfile @@ -0,0 +1,7 @@ +FROM docker:24-dind + +RUN apk add --no-cache nodejs npm git curl bash python3 + +RUN curl https://sdk.cloud.google.com > install.sh + +RUN sh install.sh --disable-prompts diff --git a/gitea-tf-gcloud.Dockerfile b/gitea-tf-gcloud.Dockerfile new file mode 100644 index 0000000..c6977f0 --- /dev/null +++ b/gitea-tf-gcloud.Dockerfile @@ -0,0 +1,7 @@ +FROM debian:bookworm-slim + +RUN apt-get update && apt-get -y install curl wget bash unzip python3 nodejs npm + +RUN curl https://sdk.cloud.google.com > install.sh && bash install.sh --disable-prompts + +RUN wget https://releases.hashicorp.com/terraform/1.7.4/terraform_1.7.4_linux_amd64.zip && unzip terraform_1.7.4_linux_amd64.zip && mv terraform /usr/bin/