'cargo' instantiation now overrides internal git client with cli client due to unbounded memory usage [1]. [1] https://github.com/rust-lang/cargo/issues/10583#issuecomment-1129997984
18 lines
713 B
Docker
18 lines
713 B
Docker
FROM docker.io/fedora:37
|
|
ADD ./install-dependencies.sh ./
|
|
ADD ./seastar/install-dependencies.sh ./seastar/
|
|
ADD ./tools/jmx/install-dependencies.sh ./tools/jmx/
|
|
ADD ./tools/java/install-dependencies.sh ./tools/java/
|
|
ADD ./tools/toolchain/system-auth ./
|
|
RUN dnf -y update \
|
|
&& dnf -y install 'dnf-command(copr)' \
|
|
&& dnf -y install ccache \
|
|
&& dnf -y install devscripts debhelper fakeroot file rpm-build \
|
|
&& ./install-dependencies.sh && dnf clean all \
|
|
&& echo 'ALL ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers \
|
|
&& cp system-auth /etc/pam.d \
|
|
&& echo 'Defaults !requiretty' >> /etc/sudoers
|
|
RUN mkdir -p /root/.m2/repository
|
|
ENV JAVA8_HOME=/usr/lib/jvm/java-1.8.0-openjdk
|
|
CMD /bin/bash
|