Skip to content
This repository was archived by the owner on Sep 26, 2025. It is now read-only.

Commit 02bfe0c

Browse files
Add licenses to local build script
1 parent 4da161e commit 02bfe0c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker/build.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,7 @@ cp pkg/fluent-plugin-kubernetes-metrics-*.gem docker
1313

1414
# Build Docker Image
1515
FLUENTD_HEC_GEM_VERSION=`cat docker/FLUENTD_HEC_GEM_VERSION`
16+
echo "Copying licenses to be included in the docker image..."
17+
mkdir -p docker/licenses
18+
cp -rp LICENSE docker/licenses/
1619
docker build --build-arg VERSION=$FLUENTD_HEC_GEM_VERSION --no-cache -t splunk/k8s-metrics:$TAG ./docker

0 commit comments

Comments
 (0)