Skip to content

Commit 0dea1a2

Browse files
launcher: use normal image for arm64 installs (#997)
We now publish images with multi-arch manifests, so no need to use a special tag
1 parent c73028a commit 0dea1a2

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

launcher

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -233,16 +233,13 @@ check_prereqs() {
233233
echo "WARNING: Docker version ${test} deprecated, recommend upgrade to ${docker_rec_version} or newer."
234234
fi
235235

236-
arm=false
237236
case $(uname -m) in
238237
armv7l)
239238
echo "ERROR: 32bit arm is not supported. Check if your hardware support arm64, which is supported in experimental capacity."
240239
exit 1
241240
;;
242241
aarch64 | arm64)
243-
echo "WARNING: Support for aarch64 is experimental at the moment. Please report any problems at https://meta.discourse.org/tag/arm"
244-
image="discourse/base:aarch64"
245-
arm=true
242+
echo "arm64 arch detected."
246243
;;
247244
x86_64)
248245
echo "x86_64 arch detected."
@@ -257,8 +254,7 @@ check_prereqs() {
257254
# 4. discourse docker image is downloaded
258255
test=`$docker_path images | awk '{print $1 ":" $2 }' | grep "$image"`
259256

260-
# arm experimental support is on a fixed tag, always pull
261-
if [ -z "$test" ] || [ $arm = true ]; then
257+
if [ -z "$test" ]; then
262258
echo
263259
echo "WARNING: We are about to start downloading the Discourse base image"
264260
echo "This process may take anywhere between a few minutes to an hour, depending on your network speed"

0 commit comments

Comments
 (0)