Try another way to build and install catalyst.
This commit is contained in:
parent
c699caf415
commit
b77074b975
17
Dockerfile
17
Dockerfile
@ -2,18 +2,19 @@ FROM gentoo/stage3-amd64-hardened as base
|
||||
|
||||
RUN mkdir /usr/portage && emerge-webrsync
|
||||
|
||||
RUN emerge dev-util/catalyst
|
||||
RUN quickpkg dev-util/catalyst
|
||||
RUN mkdir /tmp/root && emerge -q --root=/tmp/root dev-util/catalyst
|
||||
|
||||
FROM gentoo/stage3-amd64-hardened
|
||||
|
||||
# Copy needed files
|
||||
COPY --from=base /etc /etc
|
||||
COPY --from=base /usr/bin /usr/bin
|
||||
COPY --from=base /usr/include /usr/include
|
||||
COPY --from=base /usr/lib /usr/lib
|
||||
COPY --from=base /usr/lib64 /usr/lib64
|
||||
COPY --from=base /usr/share /usr/share
|
||||
COPY --from=base /tmp/root/* /
|
||||
|
||||
#COPY --from=base /etc /etc
|
||||
#COPY --from=base /usr/bin /usr/bin
|
||||
#COPY --from=base /usr/include /usr/include
|
||||
#COPY --from=base /usr/lib /usr/lib
|
||||
#COPY --from=base /usr/lib64 /usr/lib64
|
||||
#COPY --from=base /usr/share /usr/share
|
||||
|
||||
# Volume for catalyst generated files
|
||||
VOLUME /var/lib/catalyst
|
||||
|
Loading…
Reference in New Issue
Block a user