diff --git a/gentoo/Dockerfile b/gentoo/Dockerfile index 9a33f62..858f7b4 100644 --- a/gentoo/Dockerfile +++ b/gentoo/Dockerfile @@ -18,6 +18,7 @@ FROM apnpucky/gentoo-base as gentoo-repo RUN emerge -q eix dev-vcs/git && rm -rf /var/cache/distfiles/* RUN rm -rf /var/db/repos/gentoo && mkdir -p /var/db/repos/gentoo && printf "[DEFAULT]\nmain-repo = gentoo\n\n[gentoo]\nlocation = /var/db/repos/gentoo\nsync-type = git\nsync-uri = https://github.com/gentoo-mirror/gentoo.git\nauto-sync = yes\nsync-git-verify-commit-signature = yes\nsync-openpgp-key-path = /usr/share/openpgp-keys/gentoo-release.asc" > /etc/portage/repos.conf/gentoo.conf && emerge --sync RUN eix-update +RUN install -m 0750 -o portage -g portage -d /etc/portage/env /etc/portage/package.{accept_keywords,env,unmask,use} # gentoo-ebuild-ci FROM apnpucky/gentoo-repo as gentoo-ebuild-ci @@ -59,7 +60,6 @@ RUN emerge -q dev-lang/perl && rm -rf /var/cache/distfiles/* #gentoo-test FROM apnpucky/gentoo-perl as gentoo-test -RUN install -m 0750 -o portage -g portage -d /etc/portage/env /etc/portage/package.{accept_keywords,env,unmask,use} RUN mkdir /var/db/repos/apn && printf "[apn]\nlocation = /var/db/repos/apn\nsync-type = git\nsync-uri = https://gitlab.com/APN-Pucky/gentoo-apn.git" > /etc/portage/repos.conf/apn.conf && emaint -r apn sync RUN echo '*/*::apn * ~*' > /etc/portage/package.accept_keywords/apn RUN echo '*/*::guru * ~*' > /etc/portage/package.accept_keywords/guru diff --git a/gentoo/ansible/Dockerfile b/gentoo/ansible/Dockerfile index 1ca4dcf..0abd79a 100644 --- a/gentoo/ansible/Dockerfile +++ b/gentoo/ansible/Dockerfile @@ -1,5 +1,6 @@ FROM apnpucky/gentoo-repo as gentoo-ansible LABEL maintainer="APN-Pucky" ARG ANSIBLE_VERSION=10.2.0 +RUN echo 'app-admin/ansible * ~*' > /etc/portage/package.accept_keywords/ansible RUN echo 'app-admin/ansible-lint * ~*' > /etc/portage/package.accept_keywords/ansible-lint RUN emerge -q app-admin/ansible-lint ~app-admin/ansible-${ANSIBLE_VERSION} && rm -rf /var/cache/distfiles/* \ No newline at end of file