Skip to content

Instantly share code, notes, and snippets.

@kwk
Created February 2, 2017 14:32
Show Gist options
  • Save kwk/c481375bf238f2a38eb63cf3eb7c0910 to your computer and use it in GitHub Desktop.
Save kwk/c481375bf238f2a38eb63cf3eb7c0910 to your computer and use it in GitHub Desktop.
Build and run a custom almighty-core docker image and run it
# Checkout the sourcecode
cd /tmp
git clone https://github.com/almighty/almighty-core.git
cd almighty-core
# Start a container that has all the build tools installed
make docker-start
# Run all the steps in order to create the artifacts
make docker-build
# Pack the artifacts into a docker image called "almighty-core-deploy"
make docker-image-deploy
# Run the container and connect to an custom postgres server
docker run -it -e ALMIGHTY_POSTGRES_HOST=172.17.0.3 almighty-core-deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment