github.phpd.cn/thought-machine/please@v12.2.0+incompatible/tools/images/gentoo/Dockerfile (about)

     1  FROM gentoo/stage3-amd64
     2  
     3  # Base system & locales
     4  COPY make.conf /etc/portage/make.conf
     5  COPY locale.gen /etc/locale.gen
     6  RUN emerge --sync -q && locale-gen && eselect locale set en_GB.utf8 && env-update && source /etc/profile && emerge -q portage
     7  
     8  # Python
     9  RUN emerge -q python:3.5 net-misc/curl unzip dev-vcs/git
    10  RUN emerge -q --newuse world
    11  
    12  # Go and Java, protobufs, linter
    13  # Unsure why sandbox breaks here?
    14  RUN FEATURES="-sandbox -usersandbox" emerge -q dev-lang/go
    15  RUN emerge -q virtual/jdk dev-libs/protobuf dev-go/golint
    16  
    17  WORKDIR /tmp