build docker images from logstash repo (#10603)

introduces two rake tasks: `rake artifact:docker_oss` and `rake artifact:docker`, which will create the docker images of the OSS and non OSS packages. These tasks depend on the tar artifacts being built.

Also `rake artifact:all` has been modified to also call these two tasks.

most code was moved from https://github.com/elastic/logstash-docker/
This commit is contained in:
João Duarte 2019-04-04 11:27:06 +01:00 committed by GitHub
parent bb8d4fbc19
commit dc5db673ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 1088 additions and 2 deletions

8
docker/tests/helpers.py Normal file
View file

@ -0,0 +1,8 @@
import subprocess
import os
from .constants import image, version
try:
version += '-%s' % os.environ['STAGING_BUILD_NUM']
except KeyError:
pass