gentoo-base: Update stage3 image.

This commit is contained in:
tastytea 2021-08-22 20:11:52 +02:00
parent 6c32623e02
commit eb549ef6b2
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
FROM gentoo/portage:latest as portage
# Build packages in /workdir.
FROM gentoo/stage3-amd64-nomultilib:latest as build
FROM gentoo/stage3:amd64-nomultilib as build
COPY --from=portage /var/db/repos/gentoo /var/db/repos/gentoo
RUN sed -i 's/-O2/-Os/' /etc/portage/make.conf
RUN echo -e '\n# Added by tastytea/gentoo-base:' >> /etc/portage/make.conf

View File

@ -5,7 +5,7 @@ FROM gentoo/portage:latest as portage
FROM tastytea/gentoo-base:latest as gentoo-base
# Build packages in /workdir.
FROM gentoo/stage3-amd64-nomultilib:latest as build
FROM gentoo/stage3:amd64-nomultilib as build
COPY --from=portage /var/db/repos/gentoo /var/db/repos/gentoo
COPY --from=gentoo-base / /workdir
RUN cp /workdir/etc/portage/make.conf /etc/portage/make.conf

View File

@ -5,7 +5,7 @@ FROM gentoo/portage:latest as portage
FROM tastytea/gentoo-base:latest as gentoo-base
# Build packages in /workdir.
FROM gentoo/stage3-amd64-nomultilib:latest as build
FROM gentoo/stage3:amd64-nomultilib as build
COPY --from=portage /var/db/repos/gentoo /var/db/repos/gentoo
COPY --from=gentoo-base / /workdir
RUN cp /workdir/etc/portage/make.conf /etc/portage/make.conf