From fc29843b8ac6b2faf690b9ef334790f518d35ca7 Mon Sep 17 00:00:00 2001 From: Adam Connelly Date: Mon, 13 Jun 2022 08:54:31 -0400 Subject: [PATCH 1/2] Add tzdata (#16) Add the `tzdata` package so that timezone information is available. This is important for the downstream Pulumi images which can require this. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index be1e734..382b4cc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,8 @@ RUN apk -U upgrade && apk add --no-cache \ git \ jq \ openssh \ - openssh-keygen + openssh-keygen \ + tzdata # Download infracost RUN curl -s -L https://github.com/infracost/infracost/releases/latest/download/infracost-linux-amd64.tar.gz | \ From 8ceb536fdfd7a314853322cc96cf3efc5c58c391 Mon Sep 17 00:00:00 2001 From: Adam Connelly Date: Mon, 13 Jun 2022 09:10:32 -0400 Subject: [PATCH 2/2] Add some basic information to the README (#18) --- README.md | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5ede28b..2813f9a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,20 @@ -# runner-terraform -Spacelift runner image for Terraform +# Terraform Runner Image + +This repo contains the Dockerfile for building the default Spacelift Terraform runner image. + +## Docker Repository + +The image is pushed to the `public.ecr.aws/spacelift/runner-terraform` public repository. It +is also pushed to the `ghcr.io/spacelift-io/runner-terraform` as a backup in case of issues +with ECR. + +## Branch Model + +This repository uses two main branches: + +- `main` - contains the production version of the runner image. +- `future` - used to test development changes. + +Pushes to `main` deploy to the `latest` tag, whereas pushes to `future` deploy to the `future` +tag. This means that to use the development version you can use the `public.ecr.aws/spacelift/runner-terraform:future` +image.