Containerfile 421 Bytes
Newer Older
James T. Lee's avatar
James T. Lee committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
ARG STAGE1_TAG
FROM nest/stage1:${STAGE1_TAG}

ARG FACTER_build=stage2
ARG FACTER_emerge_default_opts
ARG FACTER_makeopts
ARG PROFILE

RUN eix-sync -q

# Switch to desired profile and make the base system consistent with it
RUN eselect profile set "nest:${PROFILE}"
RUN emerge --info
RUN emerge -v --update --deep --newuse --with-bdeps=y @world

# Configure the stage
17
RUN puppet agent --test --runtimeout 0; [ $? -eq 2 ]