Skip to content
Merged
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
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ require:

AllCops:
TargetRubyVersion: 2.3
CacheRootDirectory: .rubocop_cache
CacheRootDirectory: /tmp/rubocop_cache
MaxFilesInCache: 1000

Style/ReturnNil:
Expand Down
5 changes: 4 additions & 1 deletion build_docs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

import errno
import logging
from os import environ, getgid, getuid
from os import environ, getgid, getuid, makedirs
from os.path import basename, dirname, exists, expanduser, isdir
from os.path import join, normpath, realpath
import re
Expand Down Expand Up @@ -556,6 +556,9 @@ def standard_docker_args():
docker_args.extend(['--user', '%d:%d' % (uid, getgid())])
# Mount the docs build code so we can run it!
docker_args.extend(['-v', '%s:/docs_build:cached' % DIR])
# Shadow .buildkite/hooks with an empty tmpfs so any code running inside
# the container cannot plant Buildkite hooks that execute on the host.
docker_args.extend(['--tmpfs', '/docs_build/.buildkite/hooks'])
# Seccomp adds a *devestating* performance overhead if you happen
# to have it installed.
docker_args.extend(['--security-opt', 'seccomp=unconfined'])
Expand Down