Sha256: a747ff6888351b22292082583f58908c26e6ab32ba35ca89a1f9cde327807186

Contents?: true

Size: 533 Bytes

Versions: 1

Compression:

Stored size: 533 Bytes

Contents

#!/usr/bin/env bash
set -e
TAG=$1
NODEJS_VERSION=14.15.1

# Install dependecies
gem install bundler
bundle update --bundler
bundle install

# Build Gem
bundle exec rake build -t -v
cp pkg/fluent-plugin-*.gem docker

# Build Docker Image
VERSION=`cat VERSION`
echo "Copying licenses to be included in the docker image..."
mkdir -p docker/licenses
cp -rp LICENSE docker/licenses/
docker build --no-cache --pull --build-arg VERSION=$VERSION --build-arg NODEJS_VERSION=$NODEJS_VERSION --no-cache -t splunk/k8s-metrics-aggr:$TAG ./docker

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fluent-plugin-k8s-metrics-agg-1.1.5 docker/build.sh