Skip to content

Commit

Permalink
Added "groff" & "less" as dependencies for awscli in alpine
Browse files Browse the repository at this point in the history
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: aws/aws-cli#1957 (comment)
  • Loading branch information
kai-nguyen-aligent authored Aug 15, 2022
1 parent 1a6dc4f commit f8b1084
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand Down

0 comments on commit f8b1084

Please sign in to comment.