Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
FROM ubuntu:20.04
ENV HOME /root
ENV PYENV_ROOT $HOME/.pyenv
ENV PATH $PYENV_ROOT/bin:$PATH
RUN apt update -y && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
git ca-certificates make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev libsqlite3-dev wget curl llvm libncurses5-dev xz-utils tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev && \
git clone https://github.com/pyenv/pyenv.git ~/.pyenv && \
eval "$(pyenv init -)"
RUN PYENV_DEBUG=1 pyenv install miniconda3-4.7.12 -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.