Skip to content

Instantly share code, notes, and snippets.

@gotoloop1
Created June 1, 2020 13:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gotoloop1/8b7f44c5f141bb61674e344aceac6bce to your computer and use it in GitHub Desktop.
Save gotoloop1/8b7f44c5f141bb61674e344aceac6bce to your computer and use it in GitHub Desktop.
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