You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using dockerfiles extensively for various build scenarios. An added benefit is that I can immediately and locally build it and see if my changes are OK without hitting CI.
It would be cool if I could directly specify dockerfile in .woodpecker.yml to be used instead of manually converting FROM into image and RUNs into commands.
Suggested solution
Instead of:
pipeline:
build:
image: golangcommands:
- go build
- go test
Manual conversion of the Dockerfile to woodpecker. It's error-prone and tedious. Alternatively use some converters like Earthly but they unnecessarily introduce additional dependencies. buildx plugin can specify dockerfile but it has it's own problems (e.g. it eagerly fetches image base even with pull_image: false in my tests)
Additional context
I have searched issues for "dockerfile" and the online docs.
Validations
Checked that the feature isn't part of the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
Clear and concise description of the problem
Hi,
I'm using dockerfiles extensively for various build scenarios. An added benefit is that I can immediately and locally build it and see if my changes are OK without hitting CI.
It would be cool if I could directly specify dockerfile in .woodpecker.yml to be used instead of manually converting
FROM
intoimage
andRUN
s intocommands
.Suggested solution
Instead of:
have:
and:
(property name taken from docker compose)
Alternative
Manual conversion of the Dockerfile to woodpecker. It's error-prone and tedious. Alternatively use some converters like Earthly but they unnecessarily introduce additional dependencies. buildx plugin can specify dockerfile but it has it's own problems (e.g. it eagerly fetches image base even with
pull_image: false
in my tests)Additional context
I have searched issues for "dockerfile" and the online docs.
Validations
next
version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]The text was updated successfully, but these errors were encountered: