wbh1 / grafana-sqlite-to-postgres

Grafana SQLite to Postgres Database Migrator
MIT License
97 stars 26 forks source link

Bug in Dockerfile #45

Closed FStefanni closed 1 year ago

FStefanni commented 1 year ago

Hi,

if i currently build by using the provided Dockerfile by using:

DOCKER_BUILDKIT=1 docker build --tag:migrator:1.0.0 .

Then the entry point is wrong, since it points to grafana-migrate, instead of grafana-migrate/tags/v2.2.3-3-gfde745d.

To fix, just replace the COPY command with the following:

COPY --from=builder /go/src/github.com/wbh1/grafana-sqlite-to-postgres/dist/grafana-migrate_linux*/tags/* ./grafana-migrate

Regards

wbh1 commented 1 year ago

Fixed in d7b0c69534a6b82bf16ead7483e36b04afe90363.

Thanks!