Skip to content

Commit 48936c4

Browse files
authored
[Feature:Autograding] strace for system call filter debugging (#67)
### What is the new behavior? add strace to several docker containers to aid in system call filter debugging --------- Co-authored-by: Barb Cutler <Barb Cutler>
1 parent c6b423d commit 48936c4

File tree

4 files changed

+14
-1
lines changed

4 files changed

+14
-1
lines changed

dockerfiles/autograding-default/ubuntu-22.04/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ RUN chmod -R 755 ${SUBMITTY_INSTALL_DIR}/bin/comment_count.py
7878

7979
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
8080

81+
# for debugging system call filtering
82+
RUN apt-get install -y strace
8183

8284
RUN apt-get purge -y --auto-remove wget
8385
RUN rm -rf /var/lib/apt/lists/*

dockerfiles/clang/14/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ FROM ubuntu:22.04
33
# installing clang & clang++
44
RUN apt-get update
55
RUN apt-get install -y clang-14 lld-14
6+
7+
# for debugging system call filtering
8+
RUN apt-get install -y strace
9+
610
RUN rm -rf /var/lib/apt/lists/*
711

812
# symlinks

dockerfiles/gcc/11/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,11 @@
11
FROM ubuntu:22.04
22

3-
# installing requirements to get and extract prebuilt binaries
43
RUN apt-get update
54
RUN apt-get install -y gcc-11 g++-11
5+
6+
# for debugging system call filtering
7+
RUN apt-get install -y strace
8+
69
RUN rm -rf /var/lib/apt/lists/*
710

811
# symlinks - x86

dockerfiles/python/3.10/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ FROM ubuntu:22.04
33
# installing python
44
RUN apt-get update
55
RUN apt-get install -y python3.10
6+
7+
# for debugging system call filtering
8+
RUN apt-get install -y strace
9+
610
RUN rm -rf /var/lib/apt/lists/*
711

812
# symlinks

0 commit comments

Comments
 (0)