From 4dcdaee17bce00294cfe11dde7b3823231824da0 Mon Sep 17 00:00:00 2001 From: ChristophShyper <45788587+ChristophShyper@users.noreply.github.com> Date: Tue, 11 Feb 2025 22:57:37 +0100 Subject: [PATCH] Fix for debconf term error Fixes following error in Actions: `debconf: (Can't locate Term/ReadLine.pm in @INC (you may need to install the Term::ReadLine module) ` --- Dockerfile | 4 ++++ README.md | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 05a30be..b57630e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,9 @@ # Use a clean tiny image to store artifacts in FROM ubuntu:24.04 +# Disable interactive mode +ENV DEBIAN_FRONTEND noninteractive + # Multi-architecture from buildx ARG TARGETPLATFORM @@ -15,6 +18,7 @@ RUN chmod +x /entrypoint.sh ;\ apt-get install --no-install-recommends -y \ gpg-agent \ software-properties-common ;\ + echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections ;\ add-apt-repository ppa:git-core/ppa ;\ apt-get update -y ;\ apt-get install --no-install-recommends -y \ diff --git a/README.md b/README.md index 1e23e67..fead2ba 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ Available in Docker Hub: [devopsinfra/action-commit-push:latest](https://hub.docker.com/repository/docker/devopsinfra/action-commit-push) -And GitHub Packages: [ghcr.io/devops-infra/docker-terragrunt/docker-terragrunt:latest](https://github.com/devops-infra/action-commit-push/packages) +And GitHub Packages: [ghcr.io/devops-infra/docker-terragrunt/docker-terragrunt:latest](https://github.com/orgs/devops-infra/packages/container/package/action-commit-push) Features: