Skip to content
Permalink
Browse files

Detect if we are running inside Docker

  • Loading branch information...
probonopd committed Apr 9, 2019
1 parent 649342d commit ed1d385282a6aa6c9a93b52296f20555adf9bae7
Showing with 3 additions and 0 deletions.
  1. +3 −0 functions.sh
@@ -29,6 +29,9 @@ OPTIONS="-o Debug::NoLocking=1
-o APT::Install-Suggests=0
"

# Detect if we are running inside Docker
grep docker /proc/1/cgroup >/dev/null && export DOCKER_BUILD=1 || true

# Detect system architecture to know which binaries of AppImage tools
# should be downloaded and used.
case "$(uname -i)" in

0 comments on commit ed1d385

Please sign in to comment.
You can’t perform that action at this time.