mirror of
https://github.com/MariaDB/mariadb-docker.git
synced 2025-04-19 06:02:18 +03:00
13 lines
480 B
Plaintext
13 lines
480 B
Plaintext
# Containerfile for adding the debuginfo of an apt, based container
|
|
# with some tools.
|
|
ARG BASE
|
|
FROM $BASE
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y linux-tools-common gdbserver gdb curl \
|
|
&& dpkg-query --showformat='${Package},${Version},${Architecture}\n' --show | grep mariadb \
|
|
| while IFS=, read pkg version arch; do \
|
|
[ $arch != all ] && apt-get install -y ${pkg}-dbgsym=${version} ; \
|
|
done; \
|
|
rm -rf /var/lib/apt/lists/*
|