pin version 2, fix docker warnings
This commit is contained in:
1 parent
7a957c3c16
commit
6b4289ee94
1 file changed
+3
-3
+3
-3
@@ -1,10 +1,10 @@
|
|||||||
FROM gentoo/portage:latest as portage
|
FROM gentoo/portage:latest AS portage
|
||||||
FROM gentoo/stage3:amd64-openrc
|
FROM gentoo/stage3:amd64-openrc
|
||||||
|
|
||||||
COPY --from=portage /var/db/repos/gentoo /var/db/repos/gentoo
|
COPY --from=portage /var/db/repos/gentoo /var/db/repos/gentoo
|
||||||
|
|
||||||
# courier and pythonfilter install + activate + cleanup
|
# courier and pythonfilter install + activate + cleanup
|
||||||
RUN echo 'mail-mta/courier' > /etc/portage/package.accept_keywords/courier && \
|
RUN echo '>=mail-mta/courier-2' > /etc/portage/package.accept_keywords/courier && \
|
||||||
echo 'net-libs/courier-authlib' >> /etc/portage/package.accept_keywords/courier && \
|
echo 'net-libs/courier-authlib' >> /etc/portage/package.accept_keywords/courier && \
|
||||||
emerge mail-mta/courier mail-filter/courier-pythonfilter dev-python/pyspf dev-libs/libltdl && \
|
emerge mail-mta/courier mail-filter/courier-pythonfilter dev-python/pyspf dev-libs/libltdl && \
|
||||||
ln -s /usr/bin/pythonfilter /usr/libexec/filters && \
|
ln -s /usr/bin/pythonfilter /usr/libexec/filters && \
|
||||||
@@ -32,4 +32,4 @@ EXPOSE 993
|
|||||||
VOLUME /conf
|
VOLUME /conf
|
||||||
VOLUME /mail
|
VOLUME /mail
|
||||||
|
|
||||||
CMD /start.sh
|
CMD ["/start.sh"]
|
||||||
Reference in new issue
Block a user