Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gdb to Neurodamus containers #10

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ ONBUILD RUN spack env activate /opt/spack-environment; \

ONBUILD RUN if [ -n "${MIRROR_URL}" ]; then spack mirror rm build_s3; fi
# Strip all the binaries
ONBUILD RUN find -L /opt/view/* -type f -exec readlink -f '{}' \; | \
xargs file -i | \
grep 'charset=binary' | \
grep 'x-executable\|x-archive\|x-sharedlib' | \
awk -F: '{print $1}' | xargs strip -s
# ONBUILD RUN find -L /opt/view/* -type f -exec readlink -f '{}' \; | \
# xargs file -i | \
# grep 'charset=binary' | \
# grep 'x-executable\|x-archive\|x-sharedlib' | \
# awk -F: '{print $1}' | xargs strip -s

# Modifications to the environment that are necessary to run
ONBUILD RUN cd /opt/spack-environment && \
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
RUN apt-get update \
&& apt-get install -y gcc g++ make \
&& apt-get install -y g++ gcc gdb make \
&& rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
RUN apt-get update \
&& apt-get install -y gcc g++ make \
&& apt-get install -y g++ gcc gdb make \
&& rm -rf /var/lib/apt/lists/*
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
RUN apt-get update \
&& apt-get install -y gcc g++ make \
&& apt-get install -y g++ gcc gdb make \
&& rm -rf /var/lib/apt/lists/*