Hacker News new | ask | show | jobs
by j1elo 1079 days ago
That Dockerfile doesn't seem to do anything because it inherits from another container that probably has more interesting stuff in it.

In any case, I found this in the docker/ subdirectory (if it was me I would have put it in the main README):

https://github.com/photoprism/photoprism/tree/develop/docker...

  Building From Source
  You can build and install PhotoPrism from the publicly available source code:*
  git clone https://github.com/photoprism/photoprism.git
  cd photoprism
  make all install DESTDIR=/opt/photoprism
1 comments

I found this too. They mention this:

  Missing build dependencies must be installed manually as shown in our human-readable and versioned Dockerfile.
I haven't been able to find any dockerfile that lists dependencies. My guess is that the documentation is referring to some prior architecture or something similar
And the word "Dockerfile" is a link to a nonexistent page... they definitely skipped their grep + sed update homework when moving things around.

Noticing the broken link points to photoprism/docker/develop/Dockerfile, I supposed they had moved it and indeed, just by going one parent up, the directoy photoprism/docker/develop/ contains subdirectories for lots of base systems, each one containing a Dockerfile that lists dependencies needed for each of them.

For example, for Ubuntu 20.04:

https://github.com/photoprism/photoprism/blob/develop/docker...