is now ubuntu bionic
This commit is contained in:
parent
7228b354b7
commit
899ca95eab
22
Dockerfile
22
Dockerfile
@ -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
10
setup-mirror
Normal 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
|
Loading…
Reference in New Issue
Block a user