Skip to content

Instantly share code, notes, and snippets.

@strongant
Created March 1, 2023 15:44
Show Gist options
  • Save strongant/221c2a5a2f9311c0fcde54b737f7816c to your computer and use it in GitHub Desktop.
Save strongant/221c2a5a2f9311c0fcde54b737f7816c to your computer and use it in GitHub Desktop.
Install python/pip
# Install python/pip
ENV PYTHONUNBUFFERED=1
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
RUN python3 -m ensurepip
RUN pip3 install --no-cache --upgrade pip setuptools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment