mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 09:42:07 +08:00
DEV: Add non-x86_64 warning to d/boot_dev
Running a development environment using Docker's qemu architecture emulation is currently not possible because `inotify` is not supported: https://github.com/docker/for-mac/issues/5321
This commit is contained in:
parent
73050d9049
commit
78f9d47ab1
|
@ -60,6 +60,13 @@ while [ "${#@}" -ne "0" ]; do
|
|||
shift
|
||||
done
|
||||
|
||||
if [[ $(docker info -f "{{.Architecture}}") != *x86_64* ]]; then
|
||||
echo "WARNING: Docker architecture is not x86_64."
|
||||
echo "Discourse development is unlikely to work using Docker's architecture emulation."
|
||||
echo "Please try a native development installation."
|
||||
sleep 1
|
||||
fi
|
||||
|
||||
echo "Using source in: ${SOURCE_DIR}"
|
||||
echo "Using data in: ${DATA_DIR}"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user