Created
June 1, 2020 13:59
-
-
Save gotoloop1/8b7f44c5f141bb61674e344aceac6bce to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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