1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2026-04-30 20:19:47 +02:00
Files
goreleaser/internal/pipe/docker/testdata/Dockerfile.wrongbin
T
Carlos Alexandro Becker d5a413f9f4 feat: add context info to docker build errors (#3920)
its too hard to debug docker build issues... sometimes is just a typo in
the binary name, and you might end debugging it for way too long...

this prints the full path to the build context (so, locally at least,
you can cd into it) and also all the files available there when the
error seems to be one of the "file not found" kind.

Hopefully this helps fixing things easier :)

closes #3912

Signed-off-by: Carlos A Becker <caarlos0@users.noreply.github.com>
2023-04-08 21:06:04 -03:00

4 lines
34 B
Docker

FROM alpine
# a typo:
ADD mybyn /