mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
36 lines
680 B
Text
36 lines
680 B
Text
|
FROM ubuntu:18.04
|
||
|
|
||
|
LABEL maintainer="Chris L. Barnes <chrislloydbarnes@gmail.com>"
|
||
|
|
||
|
ENV DEBIAN_FRONTEND=noninteractive
|
||
|
|
||
|
RUN apt-get update -y \
|
||
|
&& apt-get install -y \
|
||
|
make \
|
||
|
build-essential \
|
||
|
libssl-dev \
|
||
|
zlib1g-dev \
|
||
|
libbz2-dev \
|
||
|
libreadline-dev \
|
||
|
libsqlite3-dev \
|
||
|
wget \
|
||
|
curl \
|
||
|
llvm \
|
||
|
libncurses5-dev \
|
||
|
libncursesw5-dev \
|
||
|
xz-utils \
|
||
|
tk-dev \
|
||
|
libffi-dev \
|
||
|
liblzma-dev \
|
||
|
python-openssl \
|
||
|
git \
|
||
|
&& rm -rf /var/lib/apt/lists/*
|
||
|
|
||
|
ENV PYENV_ROOT "/pyenv"
|
||
|
ENV PATH "$PYENV_ROOT/bin:$PATH"
|
||
|
|
||
|
COPY . /pyenv
|
||
|
|
||
|
RUN eval "$(pyenv init -)"
|
||
|
|