2017-09-21 11:28:16 +02:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
2018-01-11 11:20:18 +01:00
|
|
|
# When updating this, also update the versions in Dockerfile-*, and make sure that
|
|
|
|
# it matches the versions of the elasticsearch and elasticsearch_dsl packages
|
|
|
|
# used in Pillar. Those don't have to match exactly, but the major version should.
|
|
|
|
VERSION=6.1.1
|
2017-09-21 11:28:16 +02:00
|
|
|
|
2018-01-11 11:20:18 +01:00
|
|
|
docker build -t armadillica/elasticsearch:${VERSION} -f Dockerfile-elastic .
|
|
|
|
docker build -t armadillica/kibana:${VERSION} -f Dockerfile-kibana .
|
|
|
|
|
|
|
|
docker tag armadillica/elasticsearch:${VERSION} armadillica/elasticsearch:latest
|
|
|
|
docker tag armadillica/kibana:${VERSION} armadillica/kibana:latest
|
|
|
|
|
|
|
|
echo "Done, built armadillica/elasticsearch:${VERSION} and armadillica/kibana:${VERSION}"
|
|
|
|
echo "Also tagged as armadillica/elasticsearch:latest and armadillica/kibana:latest"
|