Skip to content
Advertisement

Dockerfile not found on Linux hosted agent

I’m trying to package dotnet core application into linux container.

Docker build step fail with file not found (even though the same build works on the windows hosted agent with windows containers). I’ve even tried verifying files are there with command line step right in front of the docker build step… files are there, but docker build step fails to find the path. I’ve tried different combination of working dir and paths.

Docker step even fails to CD into the directory…

JavaScript

build process

Advertisement

Answer

Replace Webjobs to WebJobs (Case sensitive).

Advertisement