From c6d32fbb1171300280c92bcece27395aa0a11ccd Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 14 Nov 2014 21:20:10 -0800 Subject: [PATCH] salt/Dockerfile.template: After selecting Python 2, make it the default No sense in having 'python' point at Python 3 if could get depcleaned later. --- salt/Dockerfile.template | 1 + 1 file changed, 1 insertion(+) diff --git a/salt/Dockerfile.template b/salt/Dockerfile.template index d3620a3..d9df89e 100644 --- a/salt/Dockerfile.template +++ b/salt/Dockerfile.template @@ -31,6 +31,7 @@ RUN sed -i 's/\(PYTHON_TARGETS\)=.*/\1="python2_7"/' /etc/portage/make.conf RUN sed -i 's/\(PYTHON_SINGLE_TARGET\)=.*/\1="python2_7"/' /etc/portage/make.conf RUN echo 'USE_PYTHON="2.7"' >> /etc/portage/make.conf RUN emerge -v --newuse --deep --with-bdeps=y @system @world +RUN eselect python set $(eselect python show --python2) RUN mkdir /etc/portage/package.accept_keywords RUN mkdir /etc/portage/package.use -- 2.26.2