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 @@ -33,7 +33,9 @@ ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
3333RUN set -ex \
3434 && curl https://pyenv.run | bash \
3535 && pyenv update \
36- && eval "$(pyenv init -)" && pyenv --version
36+ && eval "$(pyenv init -)" \
37+ # activate pyenv on shell start
38+ && pyenv init - > ~/.bashrc
3739
3840# Install python and set interpreter
3941RUN pyenv install -s ${PYTHON_VERSION} && pyenv global ${PYTHON_VERSION}
Original file line number Diff line number Diff line change @@ -37,7 +37,9 @@ ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
3737RUN set -ex \
3838 && curl https://pyenv.run | bash \
3939 && pyenv update \
40- && eval "$(pyenv init -)" && pyenv --version
40+ && eval "$(pyenv init -)" \
41+ # activate pyenv on shell start
42+ && pyenv init - > ~/.bashrc
4143
4244# Install python and set interpreter
4345RUN pyenv install -s ${PYTHON_VERSION} && pyenv global ${PYTHON_VERSION}
@@ -62,4 +64,4 @@ RUN poetry install --all-extras --no-root
6264# Copy the rest of the repository
6365ADD . .
6466
65- ENTRYPOINT ["tail", "-f", "/dev/null"]
67+ ENTRYPOINT ["tail", "-f", "/dev/null"]
Original file line number Diff line number Diff line change @@ -33,7 +33,9 @@ ENV PATH $PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH
3333RUN set -ex \
3434 && curl https://pyenv.run | bash \
3535 && pyenv update \
36- && eval "$(pyenv init -)" && pyenv --version
36+ && eval "$(pyenv init -)" \
37+ # activate pyenv on shell start
38+ && pyenv init - > ~/.bashrc
3739
3840# Install python and set interpreter
3941RUN pyenv install -s ${PYTHON_VERSION} && pyenv global ${PYTHON_VERSION}
File renamed without changes.
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ description = "{{ cookiecutter.package_description }}"
1111authors = [
1212 " {{ cookiecutter.author_name }} <{{ cookiecutter.author_email }}>"
1313]
14- readme = " README.MD "
14+ readme = " README.md "
1515repository = " {{ cookiecutter.package_url }}"
1616packages = [
1717 { include = " {{cookiecutter.__package_name_snake_case}}" }
You can’t perform that action at this time.
0 commit comments