File tree Expand file tree Collapse file tree
{{ cookiecutter.__package_name_kebab_case }} Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,6 +6,34 @@ ARG PYTHON_VERSION={{cookiecutter.python_version}}
66ARG POETRY_VERSION=1.5.1
77LABEL maintainer="{{cookiecutter.author_name}} <{{cookiecutter.author_email}}>"
88
9+ RUN apt-get update && apt-get install -yq \
10+ build-essential \
11+ libssl-dev \
12+ zlib1g-dev \
13+ libbz2-dev \
14+ libreadline-dev \
15+ libsqlite3-dev \
16+ curl \
17+ libncursesw5-dev \
18+ xz-utils \
19+ tk-dev \
20+ libxml2-dev \
21+ libxmlsec1-dev \
22+ libffi-dev \
23+ liblzma-dev \
24+ git \
25+ python3-distutils \
26+ && rm -rf /var/lib/apt/lists/*
27+
28+ ENV PYENV_ROOT $HOME/.pyenv
29+ ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
30+
31+ # Install pyenv
32+ RUN set -ex \
33+ && curl https://pyenv.run | bash \
34+ && pyenv update \
35+ && eval "$(pyenv init -)" && pyenv --version
36+
937RUN pip install --upgrade pip
1038
1139# Install python and set interpreter
Original file line number Diff line number Diff line change @@ -6,6 +6,34 @@ ARG PYTHON_VERSION={{cookiecutter.python_version}}
66ARG POETRY_VERSION=1.5.1
77LABEL maintainer="{{cookiecutter.author_name}} <{{cookiecutter.author_email}}>"
88
9+ RUN apt-get update && apt-get install -yq \
10+ build-essential \
11+ libssl-dev \
12+ zlib1g-dev \
13+ libbz2-dev \
14+ libreadline-dev \
15+ libsqlite3-dev \
16+ curl \
17+ libncursesw5-dev \
18+ xz-utils \
19+ tk-dev \
20+ libxml2-dev \
21+ libxmlsec1-dev \
22+ libffi-dev \
23+ liblzma-dev \
24+ git \
25+ python3-distutils \
26+ && rm -rf /var/lib/apt/lists/*
27+
28+ ENV PYENV_ROOT $HOME/.pyenv
29+ ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
30+
31+ # Install pyenv
32+ RUN set -ex \
33+ && curl https://pyenv.run | bash \
34+ && pyenv update \
35+ && eval "$(pyenv init -)" && pyenv --version
36+
937RUN pip install --upgrade pip
1038
1139# Install python and set interpreter
You can’t perform that action at this time.
0 commit comments