We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
The default value for the -f flag of docker build is PATH/Dockerfile. However, this plugin uses just Dockerfile as default:
-f
docker build
PATH/Dockerfile
Dockerfile
drone-docker/cmd/drone-docker/main.go
Lines 111 to 115 in f08821b
For this reason one needs to explicitly set the dockerfile when using a non default context (PATH), for example:
dockerfile
context
PATH
settings: context: 5.6/buster/cli dockerfile: 5.6/buster/cli/Dockerfile
Otherwise, this error will be thrown:
unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /drone/src/Dockerfile: no such file or directory
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The default value for the
-f
flag ofdocker build
isPATH/Dockerfile
.However, this plugin uses just
Dockerfile
as default:drone-docker/cmd/drone-docker/main.go
Lines 111 to 115 in f08821b
For this reason one needs to explicitly set the
dockerfile
when using a non defaultcontext
(PATH
), for example:Otherwise, this error will be thrown:
The text was updated successfully, but these errors were encountered: