You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
686 B

ARG py3version=3.9
FROM python:${py3version}
MAINTAINER Benedikt Kristinsson <>
ENV DEBIAN_FRONTEND noninteractive
ENV TZ Europe/Berlin
ADD /tmp/
COPY /etc/apt/sources.list.d/
RUN apt-key add /tmp/ && apt-get update
RUN python3 -m pip install -U pip \
&& python3 -m pip install poetry virtualenv-tools3 pipx \
&& apt-get install -y ruby ruby-dev rubygems \
&& gem install --no-document fpm
ARG UID=1000
RUN useradd -m -u ${UID} sudois && \
mkdir /sudois && \
chown sudois:sudois /sudois
USER sudois
WORKDIR /sudois
CMD ["poetry"]