diff --git a/nfs/Dockerfile b/nfs/Dockerfile index d76416d..beb5974 100644 --- a/nfs/Dockerfile +++ b/nfs/Dockerfile @@ -1,4 +1,5 @@ -FROM ghcr.io/hassio-addons/base:latest +ARG BUILD_FROM +FROM $BUILD_FROM RUN apk add --no-cache nfs-utils COPY run.sh / RUN chmod +x /run.sh diff --git a/nfs/config.yaml b/nfs/config.yaml index 7e805ee..12942c9 100644 --- a/nfs/config.yaml +++ b/nfs/config.yaml @@ -9,4 +9,8 @@ host_network: true kernel_modules: true map: - media:rw -ports: {} \ No newline at end of file +ports: {} +build_from: + aarch64: ghcr.io/home-assistant/aarch64-base:latest + amd64: ghcr.io/home-assistant/amd64-base:latest + armv7: ghcr.io/home-assistant/armv7-base:latest \ No newline at end of file