switch to python 3.6 as default
This commit is contained in:
+1
-3
@@ -10,9 +10,7 @@ RUN locale-gen || true
|
||||
|
||||
# Upgrading portage and installing necessary packages
|
||||
RUN rm -rf '/usr/portage/metadata/timestamp.chk' && \
|
||||
emerge-webrsync && \
|
||||
layman -S && echo "y" | layman -a sabayon
|
||||
|
||||
emerge-webrsync
|
||||
# Configure the sabayon box, installing equo setting up locales
|
||||
ADD ./script/sabayon-configuration.sh /
|
||||
RUN /bin/bash /sabayon-configuration.sh && rm -rf /sabayon-configuration.sh
|
||||
|
||||
@@ -24,7 +24,9 @@ echo "dev-lang/python sqlite
|
||||
sys-apps/file python
|
||||
" > /etc/portage/package.use/00-sabayon.package.use
|
||||
|
||||
emerge layman
|
||||
|
||||
layman -S && echo "y" | layman -a sabayon
|
||||
echo "y" | layman -a sabayon-distro
|
||||
|
||||
sed -i 's/repos\.conf/make.conf/' /etc/layman/layman.cfg
|
||||
@@ -45,7 +47,7 @@ USE="ncurses" emerge -j -vt equo app-admin/localepurge --autounmask-write || exi
|
||||
emerge -j expect || exit 1
|
||||
|
||||
# Enforce choosing only python2.7 for now, cleaning others
|
||||
eselect python set python2.7
|
||||
eselect python set python3.6
|
||||
|
||||
# default for next stage(s)
|
||||
echo "nameserver 8.8.8.8" > /etc/resolv.conf
|
||||
|
||||
Reference in New Issue
Block a user