We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfd799d commit d4a2b36Copy full SHA for d4a2b36
Dockerfile
@@ -16,6 +16,21 @@ RUN \
16
-e ./homeassistant \
17
&& python3 -m compileall homeassistant/homeassistant
18
19
+# Fix Bug with Alpine 3.14 and sqlite 3.35
20
+# https://gitlab.alpinelinux.org/alpine/aports/-/issues/12524
21
+ARG BUILD_ARCH
22
+RUN \
23
+ if [ "${BUILD_ARCH}" = "amd64" ]; then \
24
+ export APK_ARCH=x86_64; \
25
+ elif [ "${BUILD_ARCH}" = "i386" ]; then \
26
+ export APK_ARCH=x86; \
27
+ else \
28
+ export APK_ARCH=${BUILD_ARCH}; \
29
+ fi \
30
+ && curl -O http://dl-cdn.alpinelinux.org/alpine/v3.13/main/${APK_ARCH}/sqlite-libs-3.34.1-r0.apk \
31
+ && apk add --no-cache sqlite-libs-3.34.1-r0.apk \
32
+ && rm -f sqlite-libs-3.34.1-r0.apk
33
+
34
# Home Assistant S6-Overlay
35
COPY rootfs /
36
0 commit comments