-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Containerfiles for making contains with debug info
- Loading branch information
1 parent
58494e2
commit 64decf7
Showing
2 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# 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/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Containerfile for adding the debuginfo of ubi micro rpm, based container | ||
# with some tools. | ||
ARG BASE | ||
FROM $BASE | ||
|
||
USER root | ||
RUN microdnf install MariaDB-server-debug-${MARIADB_VERSION} MariaDB-backup-debug-${MARIADB_VERSION} | ||
USER mysql |