Sign inSign up

ltbringer/eoan-pyenv

By ltbringer

•Updated almost 6 years ago

Ubuntu-19.10 with pyenv installed.

Image
0

1.6K

ltbringer/eoan-pyenv repository overview

⁠eoan-pyenv

This builds a container over ubuntu:19.10. Shipping exegr⁠ requires the host machine to install a number of dependencies. It seems convenient to have a docker image that can serve as the base for python projects without worrying about the version and the error:

apt-get: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found ...

The image built from this dockerfile will also ship pyenv⁠, referencing this base image would therefore make using different python versions easier by using:

FROM ltbringer/eoan-pyenv:TAG

ENV PYTHON_VERSION=3.6.5
RUN pyenv install $PYTHON_VERSION && pyenv global $PYTHON_VERSION

⁠Notes

The dependencies install tzdata which requires an interactive interface to set timezone info. I have used:

ENV DEBIAN_FRONTEND=noninteractive
ENV TZ=Asia/Kolkata

To serve my purpose, be aware of time related pitfalls.

⁠Dockerhub

The image can be accessed via Dockerhub like so:

docker pull ltbringer/eoan-pyenv:latest

Tag summary

Content type

Image

Digest

Size

247 MB

Last updated

almost 6 years ago

docker pull ltbringer/eoan-pyenv