[haiku-depot-web] Re: Update; Docker Support
- From: Andrew Lindesay <apl@xxxxxxxxxxxxxx>
- To: haiku-depot-web@xxxxxxxxxxxxx
- Date: Mon, 20 Aug 2018 19:22:35 +0200
On Tue, 31 Jul 2018, at 16:51, Alexander von Gluck IV wrote:
...
This doesn't fit 100% into the "standard docker workflow"
Most automation is based around docker consuming a Dockerfile
and building a container around "versioned/released" binary
artifacts from a remote location.
...
Then, the startup script can source /secrets/hds_secrets
Hello Alex;
I have updated that branch "138-docker-image-build-product" now with changes to
the "Dockerfile". You can find this at;
support/deployment
I have uploaded a "war" build of HDS into a GitHub "release" and this should be
pulled down as part of building the image;
cd support/deployment
docker image build -t "haikudepotserver:1.0.103" .
docker run haikudepotserver:1.0.103 -p 8080:8080 -v
/somewhere/hds-secrets-test:/secrets
In that "/secrets" folder it expects to see a file "hds_secrets" that looks
like the contents of the file "hds_secrets" in the source.
Can you please check this works for you. Once you are happy with this, I will
try to automate some aspects of it and write some notes.
Regards;
Andrew
Other related posts: