Files
scylladb/tools/toolchain/Dockerfile
Avi Kivity e5e0642f2a tools: toolchain: add dependencies for building debian and rpm packages
This reduces network traffic and eliminates time for installation when
building packages from the frozen toolchain, as well as isolating the
build from updates to those dependencies which may cause breakage.
2020-01-16 12:05:50 +02:00

14 lines
566 B
Docker

FROM fedora:31
ADD ./install-dependencies.sh ./
ADD ./seastar/install-dependencies.sh ./seastar/
ADD ./tools/toolchain/system-auth ./
RUN dnf -y install 'dnf-command(copr)' \
&& dnf -y install ccache \
&& dnf -y install gdb \
&& dnf -y install devscripts debhelper fakeroot file rpm-build python2-pystache \
&& /bin/bash -x ./install-dependencies.sh && dnf -y update && dnf clean all \
&& echo 'ALL ALL=(ALL:ALL) NOPASSWD: ALL' >> /etc/sudoers \
&& cp system-auth /etc/pam.d \
&& echo 'Defaults !requiretty' >> /etc/sudoers
CMD /bin/bash