phpmongodb / phpmongodb-1

http://www.phpmongodb.org
GNU General Public License v3.0
82 stars 39 forks source link

Create 'official' Docker image on Docker Hub #30

Open pataquets opened 7 years ago

pataquets commented 7 years ago

Docker Hub allows you to create Automated Builds from source: https://docs.docker.com/docker-hub/builds/ It would add another packaging/distribution/installation method, whose buildings would be triggered automatically on each commit. It also allows to create different image tags from git tags & branches. Also, documentation could easily include a canonical docker run statement to quickly spin up a phpmongodb instance with just a single command.

By making the image build via an AB, you give the resulting image verifiability and auditability. Also, the build is fully automatic. You can have the latest image tag build from HEAD and individual image tags from git's release tags. Some people avoid non-verifiable (manually uploaded) images due to security & traceability reasons.

Docker search command clearly displays AB when listing images (mine is shown):

$ docker search phpmongodb
NAME                      DESCRIPTION     STARS     OFFICIAL   AUTOMATED
pataquets/phpmongodb                    0                    [OK]

Just a free Docker Hub account and a quick setup would do. Ping me if you need help.

(see also #5)

pataquets commented 6 years ago

@phpmongodb : Ping (updated OP description).