Created
February 2, 2017 14:32
-
-
Save kwk/c481375bf238f2a38eb63cf3eb7c0910 to your computer and use it in GitHub Desktop.
Build and run a custom almighty-core docker image and run it
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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