Skip to content

Commit

Permalink
remove git to shrink
Browse files Browse the repository at this point in the history
  • Loading branch information
eggplants committed Apr 22, 2024
1 parent 2dedf87 commit b7ab6f8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,15 @@ FROM python:3-slim
ARG VERSION
ENV VERSION ${VERSION:-master}

# git
RUN <<-EOF
set -x
apt-get update
apt-get install -y --no-install-recommends git=1:*
apt-get autoremove -qq -y --purge
apt-get clean
rm -rf /var/lib/apt/lists/*
pip install --no-cache-dir git+https://github.com/eggplants/gettake@${VERSION}
apt-get purge -y --auto-remove git
EOF

RUN pip install --no-cache-dir git+https://github.com/eggplants/gettake@${VERSION}

ENTRYPOINT ["gettake"]

0 comments on commit b7ab6f8

Please sign in to comment.