Skip to content

Commit 03fea0b

Browse files
committed
Disabling coredumps #30 #35
1 parent 1315d22 commit 03fea0b

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ RUN pip3 install --no-cache --upgrade pip setuptools virtualenv
1515
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
1616
RUN chmod +x /usr/local/bin/entrypoint.sh
1717

18+
# Core dump limits will be set in entrypoint.sh
19+
1820
USER chrome
1921

2022
#@todo Add some random collection of fonts and other stuff to blur the fingerprint a bit

entrypoint.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/sh
2+
# Disable core dumps to prevent large files
3+
ulimit -c 0
4+
25
# Start Xvfb in background if headful mode might be used
36
if [ "${CHROME_HEADFUL}" = "true" ] || [ "${ENABLE_XVFB}" = "true" ]; then
47
echo "Starting Xvfb on display :99"

0 commit comments

Comments
 (0)