mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
This commit includes: * A base Dockerfile and script to push to a Docker repo * A per-build Dockerfile (derived from the base) * Updates to the test scripts to allow for more parallel builds * Docker wrappers for the tests scripts * Update for the integration test readme to manually run the tests * Clean up the output of the Java tests * Remove offline tag for tests (no longer needed that we don't use docker dependent services) This commit does NOT include: * Changes needed for the CI system to use Docker Fixes #8223
12 lines
588 B
Bash
Executable file
12 lines
588 B
Bash
Executable file
#!/bin/bash -ie
|
|
|
|
if docker rmi --force logstash-base ; then
|
|
echo "Removed existing logstash-base image, building logstash-base image from scratch."
|
|
else
|
|
echo "Building logstash-base image from scratch." #Keep the global -e flag but allow the remove command to fail.
|
|
fi
|
|
|
|
docker build -f Dockerfile.base -t logstash-base .
|
|
docker login --username=logstashci container-registry-test.elastic.co #will prompt for password
|
|
docker tag logstash-base container-registry-test.elastic.co/logstash-test/logstash-base
|
|
docker push container-registry-test.elastic.co/logstash-test/logstash-base
|