Some checks failed
Gentoo Utils / build-oci-image (push) Failing after 5m17s
Gentoo Utils / build (push) Has been skipped
Gentoo Utils / test (push) Has been skipped
Gentoo Utils / fuzz (push) Has been skipped
Gentoo Utils / check-format (push) Has been skipped
Gentoo Utils / docs (push) Has been skipped
Gentoo Utils / grep (push) Has been skipped
Use the new unstable meson cargo support. This simplifies the meson.build script and allows to use crates such as clap that require picking up features from Cargo.toml. This also allows us to not embed thiserror in subprojects, and instead use a wrap file with a custom meson.build and some patches to make it compile without running its build.rs script.
37 lines
625 B
Docker
37 lines
625 B
Docker
FROM gentoo/stage3:latest
|
|
|
|
COPY ./. /
|
|
|
|
ENV EGIT_CLONE_TYPE=shallow
|
|
|
|
RUN getuto
|
|
|
|
RUN emerge-webrsync
|
|
|
|
RUN emerge \
|
|
=dev-lang/rust-bin-9999 \
|
|
llvm-core/clang \
|
|
llvm-core/lld \
|
|
dev-vcs/git \
|
|
sys-process/parallel \
|
|
net-libs/nodejs
|
|
|
|
|
|
RUN git clone https://jturnerusa.dev/cgit/ebuilds/ /var/db/repos/spawns
|
|
|
|
COPY etc/portage/repos.conf /etc/portage/
|
|
|
|
RUN mkdir -p /var/cache/distfiles/git3-src && chown portage:portage /var/cache/distfiles/git3-src
|
|
|
|
RUN emerge =dev-build/meson-9999::spawns
|
|
|
|
RUN useradd -m gentooligan
|
|
|
|
USER gentooligan
|
|
|
|
WORKDIR /workspace
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
|
|
|
CMD ["/bin/bash"]
|