Scylla built using the frozen toolchain needs to be debugged on a system with matching libraries. It's easiest if it's also done on the same image. Install gdb in the image so that it's always out there when we need it. Fixes #4329 Message-Id: <1553072393-9145-1-git-send-email-tgrabiec@scylladb.com>
14 lines
514 B
Docker
14 lines
514 B
Docker
FROM fedora:29
|
|
ADD ./install-dependencies.sh ./
|
|
ADD ./seastar/install-dependencies.sh ./seastar/
|
|
ADD ./tools/toolchain/system-auth ./
|
|
RUN dnf -y install 'dnf-command(copr)' \
|
|
&& dnf -y copr enable scylladb/toolchain \
|
|
&& dnf -y install ccache \
|
|
&& dnf -y install gdb \
|
|
&& /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
|
|
|