is now ubuntu bionic

This commit is contained in:
Jeffrey Paul 2019-01-11 06:41:58 +00:00
parent 7228b354b7
commit 899ca95eab
2 changed files with 23 additions and 9 deletions

View File

@ -1,13 +1,17 @@
FROM gentoo/stage3-amd64 FROM ubuntu:18.04
RUN emerge --sync ENV DEBIAN_FRONTEND noninteractive
RUN emerge app-editors/vim-core ADD ./setup-mirror /tmp/setup-mirror
#sual-studio-code RUN bash /tmp/setup-mirror
RUN FEATURES='-usersandbox' emerge dev-lang/go RUN apt update && apt upgrade -y
RUN emerge app-eselect/eselect-repository RUN apt install -y \
RUN emerge app-portage/gentoolkit vim \
RUN emerge app-portage/pfl command-not-found \
RUN emerge app-portage/portage-utils build-essential \
python3 \
python3-pip \
python3-dev \
ruby

10
setup-mirror Normal file
View File

@ -0,0 +1,10 @@
#!/bin/bash
MRUM="main restricted universe multiverse"
cat > /etc/apt/sources.list << EOF
deb mirror://mirrors.ubuntu.com/mirrors.txt bionic $MRUM
deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-updates $MRUM
deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-security $MRUM
deb mirror://mirrors.ubuntu.com/mirrors.txt bionic-backports $MRUM
EOF