elastic-go icon indicating copy to clipboard operation
elastic-go copied to clipboard

Create Automated Build on Docker Hub

Open pataquets opened this issue 7 years ago • 3 comments

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 automatically from git tags & branches. Also, documentation could include an example docker run command which would become the canonical, no-install-needed way to run latest elastic-go.

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.

After #2 is in, just a free Docker Hub account and a quick setup would do. Ping me if you need help.

pataquets avatar Feb 06 '18 20:02 pataquets

@Rolinh ping

pataquets avatar Nov 28 '19 09:11 pataquets

@Rolinh If you search for images from Docker's command-line there is only one image listed and it's unauditable on which code is built from and included on it.

$ docker search elastic-go
NAME                DESCRIPTION         STARS               OFFICIAL            AUTOMATED
zanloy/elastic-go                       0                                       

Having a straight-from-the-source build would be better and would provide trust, since built code is traceable. And it would even let you have a 'daily build' on each commit. Let me know if I can be of any help.

pataquets avatar Jul 18 '20 18:07 pataquets

@pataquets I'll have a look into this, thanks.

rolinh avatar Jul 20 '20 07:07 rolinh