mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-03-07 21:58:21 +01:00
- Bump version to 0.133.1 (latest upstream manyfold-solo release) - Remove image: field from config.yaml so HA builds via Dockerfile - Pin Dockerfile and build.yaml to 0.133.1 instead of :latest - Add Secret Key Base section to README covering all install scenarios - Add Migration section to README with steps to preserve data when switching addon slug or reinstalling Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
28 lines
835 B
Docker
28 lines
835 B
Docker
ARG BUILD_FROM=ghcr.io/manyfold3d/manyfold-solo:0.133.1
|
|
FROM ${BUILD_FROM}
|
|
|
|
# hadolint ignore=DL3041
|
|
RUN set -eux; \
|
|
if command -v apk >/dev/null 2>&1; then \
|
|
apk add --no-cache bash coreutils jq openssl; \
|
|
elif command -v apt-get >/dev/null 2>&1; then \
|
|
apt-get update; \
|
|
apt-get install -y --no-install-recommends bash coreutils jq openssl ca-certificates; \
|
|
rm -rf /var/lib/apt/lists/*; \
|
|
elif command -v dnf >/dev/null 2>&1; then \
|
|
dnf install -y bash coreutils jq openssl; \
|
|
dnf clean all; \
|
|
else \
|
|
echo "Unsupported base image: missing apk/apt-get/dnf"; \
|
|
exit 1; \
|
|
fi
|
|
|
|
COPY run.sh /run.sh
|
|
COPY rootfs /
|
|
|
|
RUN chmod +x /run.sh \
|
|
&& chmod +x /etc/s6-overlay/s6-rc.d/manyfold/run \
|
|
&& chmod +x /etc/s6-overlay/s6-rc.d/manyfold/finish
|
|
|
|
ENTRYPOINT ["/init"]
|