traccar icon indicating copy to clipboard operation
traccar copied to clipboard

Added working docker file 👍

Open danpe opened this issue 6 years ago • 6 comments

Will soon add a docker-compose.yml for local fast development. Just run ./setup/docker/build.sh to build a docker image and tag it with the latest version.

danpe avatar Aug 15 '18 08:08 danpe

Have you seen following project?

https://github.com/traccar/traccar-docker

tananaev avatar Aug 15 '18 08:08 tananaev

@tananaev I actually missed that, but as I see this only works for an already released version and doesn't let developers build docker images locally for local deployments/testing.

What do you think? is this useful? Maybe my PR should be as part of the other project?

danpe avatar Aug 15 '18 08:08 danpe

It might be useful as an option for developers, but I think using official release should be the primary option for deployment.

Either way, this pull request should be against that repo.

tananaev avatar Aug 15 '18 09:08 tananaev

@tananaev againsts traccar-docker? If so, I should create a development docker overthere that will pull from the traccar repo and build, right?

Maybe traccar-docker should be a sub-repo like traccar-web?

danpe avatar Aug 15 '18 09:08 danpe

I'm not an expert in Docker. I would recommend to create an issue in that repo and discuss best approach with @magna-z (original author of Traccar docker repo).

tananaev avatar Aug 15 '18 09:08 tananaev

I think is good idea - move building in docker image in main project. Project traccar-docker lived as historical method of this function.

The next good step is create on DockerHub the "Automated build" from main project as source to Docker image on event as set "v*" tag.

magna-z avatar Aug 16 '18 08:08 magna-z