some starting point

This commit is contained in:
saces 2020-06-03 00:04:12 +02:00
commit 3a815fcfcb
4 changed files with 61 additions and 0 deletions

32
ubuntu/Dockerfile Normal file
View file

@ -0,0 +1,32 @@
FROM ubuntu:20.04
VOLUME /etc/portage
VOLUME /var/db/portajohn-db
RUN apt-get update && apt-get install -y \
git \
zstd \
python3 \
python3-distutils \
python3-pip \
build-essential \
rsync
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y tzdata
RUN apt-get install -y mc
RUN useradd -U -r -s /bin/false portage
WORKDIR /portajohn
RUN git clone https://github.com/gentoo/portage.git; \
cd portage; \
python3 setup.py install; \
pip3 install gemato
RUN cd /; \
emerge --version
CMD ["/bin/bash"]