Skip to content

Commit 517157a

Browse files
committed
Only install ntfs-3g dep on amd64
1 parent 6b7edf8 commit 517157a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/os/umbrelos.Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ RUN apt-get install --yes sudo nano vim less man iproute2 iputils-ping curl wget
122122
RUN apt-get install --yes python3 fswatch jq rsync git gettext-base gnupg procps dmidecode samba wsdd2 p7zip-full imagemagick ffmpeg
123123

124124
# Support for alternate filesystems
125-
RUN apt-get install --yes ntfs-3g
125+
# For some reason this always fails on arm64 but it's ok since we
126+
# don't support external storage on Pi anyway.
127+
RUN [ "${TARGETARCH}" = "amd64" ] && apt-get install --yes ntfs-3g || true
126128

127129
# TODO: udisks2 recommends eject (2.38.1-5+deb12u3) which is currently missing
128130
RUN apt-get install --yes --no-install-recommends udisks2

0 commit comments

Comments
 (0)