This repository was archived by the owner on May 11, 2021. It is now read-only.
Description If I build it with the current dockerfile I get the error:
ERROR: unsatisfiable constraints:
python (missing):
required by: world[python]
The command '/bin/sh -c apk update && apk --no-cache add bash bash-completion curl less jq groff python py-pip && pip install --upgrade awscli' returned a non-zero code: 1
You can get around it by taking out python out of the list of packages to install. py-pip automatically installs python:
FROM alpine:latest
MAINTAINER Roustem <roustem@agilebits.com>
RUN apk update && apk --no-cache add \
bash \
bash-completion \
curl \
less \
jq \
groff \
py-pip && \
pip install --upgrade \
awscli
RUN adduser -h /home/aws -s /bin/bash -D aws
USER aws
WORKDIR /home/aws
COPY entrypoint.sh /
RUN echo "export PAGER='less -R'" >> .profile
VOLUME ["/home/aws/.aws"]
ENTRYPOINT ["/entrypoint.sh"]
That should do the trick.
See stackoverflow post which is related:
https://stackoverflow.com/questions/62169568/docker-alpine-linux-python-missing
Reactions are currently unavailable
If I build it with the current dockerfile I get the error:
You can get around it by taking out python out of the list of packages to install. py-pip automatically installs python:
That should do the trick.
See stackoverflow post which is related:
https://stackoverflow.com/questions/62169568/docker-alpine-linux-python-missing