package-cache/Dockerfile.template: Use package.accept_keywords/package-cache
authorW. Trevor King <wking@tremily.us>
Wed, 29 Oct 2014 18:36:24 +0000 (11:36 -0700)
committerW. Trevor King <wking@tremily.us>
Wed, 29 Oct 2014 22:53:27 +0000 (15:53 -0700)
commit8e84fcdaf06ae8a392421c03d26321bda0d1eca9
treec276e50beb3372e09ff96a90040c4d370132e453
parentb45316d1e6c7f4371cb7eae1f71620c27c9bee23
package-cache/Dockerfile.template: Use package.accept_keywords/package-cache

Avoid:

  Step 3 : RUN echo '=net-proxy/package-cache-9999 ~amd64' >> /etc/portage/package.accept_keywords
   ---> Running in f36c7b3c1a27
  /bin/sh: /etc/portage/package.accept_keywords: Is a directory
  2014/10/29 11:23:21 The command [/bin/sh -c echo '=net-proxy/package-cache-9999 ~amd64' >> /etc/portage/package.accept_keywords] returned a non-zero code: 1
  failed to build package-cache

Since d8ed6289 (gentoo-layman/Dockerfile.template: Work around the
lack of Python 2, 2014-08-30), gentoo-layman is creating directories
for /etc/portage/package.accept_keywords and /etc/portage/package.use.
package-cache/Dockerfile.template