{"html_url": "https://github.com/simonw/datasette/issues/399#issuecomment-453876023", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/399", "id": 453876023, "node_id": "MDEyOklzc3VlQ29tbWVudDQ1Mzg3NjAyMw==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-01-13T23:31:59Z", "updated_at": "2019-01-13T23:31:59Z", "author_association": "OWNER", "body": "```\r\ndocker pull datasetteproject/datasette\r\ndocker run -p 8001:8001 datasetteproject/datasette datasette -p 8001 -h 0.0.0.0\r\n```\r\nhttp://0.0.0.0:8001/-/versions now returns:\r\n```\r\n{\r\n \"datasette\": {\r\n \"version\": \"0.26.2+0.ga418c8b.dirty\"\r\n },\r\n```\r\nI'm not sure why it's showing `.dirty` there.\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 398089089, "label": "/-/versions for official Docker image returns wrong Datasette version"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/399#issuecomment-453874429", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/399", "id": 453874429, "node_id": "MDEyOklzc3VlQ29tbWVudDQ1Mzg3NDQyOQ==", "user": {"value": 9599, "label": "simonw"}, "created_at": "2019-01-13T23:09:09Z", "updated_at": "2019-01-13T23:09:09Z", "author_association": "OWNER", "body": "It looks like there are two reasons for this:\r\n\r\n- The `.git` directory was listed in `.dockerignore` so it wasn't being copied into the build process\r\n- The docker build stage wasn't installing the `git` executable, so it couldn't read the current version\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 398089089, "label": "/-/versions for official Docker image returns wrong Datasette version"}, "performed_via_github_app": null}