Skip to content

ERROR: failed to build: failed to solve: base name ($BUILD_FROM) should not be blank #1

Description

@askpatrickw
2026-05-31 13:34:56.242 INFO (MainThread) [supervisor.docker.app] 
Starting build for d567a5a0/amd64-addon-smartvanio:1.0.15-beta
2026-05-31 13:34:56.245 INFO (MainThread) [supervisor.docker.manager] 
Running command '['docker', 'buildx', 'build', '.', '--tag', 
'd567a5a0/amd64-addon-smartvanio:1.0.15-beta', '--file', 'Dockerfile', '-
-platform', 'linux/amd64', '--pull', '--label', 'io.hass.version=1.0.15-
beta', '--label', 'io.hass.arch=amd64', '--label', 'io.hass.type=app', '-
-label', 'io.hass.name=Smartvan.io', '--label', 
'io.hass.description=Smartvan.io Add-on - Manage all your SmartVan 
devices in one place!', '--build-arg', 'BUILD_VERSION=1.0.15-beta', '--
build-arg', 'BUILD_ARCH=amd64']' on docker:29.3.1-cli

2026-05-31 13:34:56.662 ERROR (MainThread) [supervisor.docker.app] Docker 
build failed for d567a5a0/amd64-addon-smartvanio:1.0.15-beta (exit code 
1). Build output:
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 638B done
#1 WARN: InvalidDefaultArgInFrom: Default value for ARG $BUILD_FROM results in empty or invalid base image name (line 2)
#1 DONE 0.0s
 1 warning found (use docker --debug to expand):
 - InvalidDefaultArgInFrom: Default value for ARG $BUILD_FROM results in empty or invalid base image name (line 2)
Dockerfile:2
--------------------
   1 |     ARG BUILD_FROM
   2 | >>> FROM $BUILD_FROM
   3 |     
   4 |     WORKDIR /app/smartvanio
--------------------
ERROR: failed to build: failed to solve: base name ($BUILD_FROM) should not be blank

2026-05-31 13:34:56.662 ERROR (MainThread) [supervisor.apps.app] Could 
not build image for app d567a5a0_smartvanio: Docker build failed for 
d567a5a0/amd64-addon-smartvanio:1.0.15-beta (exit code 1). Build output:
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 638B done
#1 WARN: InvalidDefaultArgInFrom: Default value for ARG $BUILD_FROM results in empty or invalid base image name (line 2)
#1 DONE 0.0s
 1 warning found (use docker --debug to expand):
 - InvalidDefaultArgInFrom: Default value for ARG $BUILD_FROM results in 
empty or invalid base image name (line 2)
Dockerfile:2
--------------------
   1 |     ARG BUILD_FROM
   2 | >>> FROM $BUILD_FROM
   3 |     
   4 |     WORKDIR /app/smartvanio
--------------------
ERROR: failed to build: failed to solve: base name ($BUILD_FROM) should 
not be blank

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions