File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -198,14 +198,16 @@ check_prereqs() {
198198 echo " WARNING: Docker version ${test} deprecated, recommend upgrade to ${docker_rec_version} or newer."
199199 fi
200200
201- case ` uname -m` in
201+ arm=false
202+ case $( uname -m) in
202203 armv7l)
203204 echo " ERROR: 32bit arm is not supported. Check if your hardware support arm64, which is supported in experimental capacity."
204205 exit 1
205206 ;;
206207 aarch64 | arm64)
207208 echo " WARNING: Support for aarch64 is experimental at the moment. Please report any problems at https://meta.discourse.org/tag/arm "
208209 image=" discourse/base:aarch64"
210+ arm=true
209211 read -n 1 -s -r -p " Press any key to continue"
210212 ;;
211213 x86_64)
@@ -221,7 +223,8 @@ check_prereqs() {
221223 # 4. discourse docker image is downloaded
222224 test=` $docker_path images | awk ' {print $1 ":" $2 }' | grep " $image " `
223225
224- if [ -z " $test " ]; then
226+ # arm experimental support is on a fixed tag, always pull
227+ if [ -z " $test " ] || [ $arm = true ]; then
225228 echo
226229 echo " WARNING: We are about to start downloading the Discourse base image"
227230 echo " This process may take anywhere between a few minutes to an hour, depending on your network speed"
You can’t perform that action at this time.
0 commit comments