FROM python:3.8-alpine
#install deps and install stuff
RUN apk add --update \
py3-pip \
py3-cffi \
py3-cryptography \
git \
&& apk add --virtual build-deps \
gcc \
libffi-dev \
python3-dev \
linux-headers \
musl-dev \
groff \
less \
mailcap \
openssl-dev \
&& pip3 install --upgrade \
gsutil \
awscli==1.18.55 \
s3cmd==2.0.1 \
python-magic \
&& pip cache purge \
&& apk del build-deps \
&& rm /var/cache/apk/*
# DUMMY
RUN echo -e "#!/bin/ash\necho Ok" > /entrypoint.sh \
&& chmod +x /entrypoint.sh
CMD ["./entrypoint.sh"]
Create your own image based on this one by adding creds and a new entrypoint.sh like this:
FROM suncheez/awsgsuitegit
COPY ./.boto /root
COPY ./aws_creds /root
COPY ./git_creds /root
COPY ./entrypoint.sh /
Content type
Image
Digest
Size
97.4 MB
Last updated
over 6 years ago
docker pull suncheez/awsgsuitegit