FROM alpine:latest LABEL org.opencontainers.image.authors="Juergen Edelbluth " RUN apk update && apk upgrade RUN apk add patch build-base gcc zip xz-dev bzip2-dev zlib-dev libffi-dev linux-headers readline-dev openssl-dev openssl sqlite sqlite-dev RUN apk add git gpg wget curl bash bash-completion shadow nano starship openssh-client openssh-sftp-server RUN chsh -s /bin/bash RUN echo 'eval "$(starship init bash)"' >> ~/.bashrc RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | /bin/bash RUN echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.bashrc RUN echo 'command -v pyenv >/dev/null || export PATH="$PYENV_ROOT/bin:$PATH"' >> ~/.bashrc RUN echo 'eval "$(pyenv init -)"' >> ~/.bashrc RUN /bin/bash -c ". ~/.bashrc && pyenv update" RUN /bin/bash -c ". ~/.bashrc && pyenv install 3.9" RUN /bin/bash -c ". ~/.bashrc && pyenv install 3.10" RUN /bin/bash -c ". ~/.bashrc && pyenv install 3.11" RUN /bin/bash -c ". ~/.bashrc && pyenv install 3.12" RUN /bin/bash -c ". ~/.bashrc && pyenv install 3.13" RUN /bin/bash -c ". ~/.bashrc && pyenv global 3.12" RUN /bin/bash -c ". ~/.bashrc && python3 -m pip install pipx && python3 -m pipx ensurepath && pipx install poetry"