From f8b1084a66e386d90325683e50ebb4561a77ad32 Mon Sep 17 00:00:00 2001 From: kai-nguyen-aligent <108910975+kai-nguyen-aligent@users.noreply.github.com> Date: Mon, 15 Aug 2022 16:25:25 +0930 Subject: [PATCH] Added "groff" & "less" as dependencies for awscli in alpine I was unable to perform any `aws cli` command against our docker containers (both aligent/serverless:latest & aligent/serverless:offline) Any `aws` command except `aws --version` returns with `Could not find executable named "groff"` error. This commit fix this issue by adding `groff` & `less` libraries. Similar issue & solution can be found from: https://github.com/aws/aws-cli/issues/1957#issuecomment-444307537 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8c87331..1b661a8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,7 @@ RUN chown node:node /app /serverless /home/node/.config /home/node/.serverless / RUN apk update && \ apk add \ - sudo python3 py3-pip bash shadow make g++ && \ + sudo python3 py3-pip bash shadow make g++ groff less && \ pip3 --no-cache-dir install --upgrade awscli && \ rm -rf /var/cache/apk/*