diff options
Diffstat (limited to 'src/fluent-bit/lib/librdkafka-2.1.0/packaging/nuget/nuget.sh')
-rwxr-xr-x | src/fluent-bit/lib/librdkafka-2.1.0/packaging/nuget/nuget.sh | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/fluent-bit/lib/librdkafka-2.1.0/packaging/nuget/nuget.sh b/src/fluent-bit/lib/librdkafka-2.1.0/packaging/nuget/nuget.sh new file mode 100755 index 000000000..032371231 --- /dev/null +++ b/src/fluent-bit/lib/librdkafka-2.1.0/packaging/nuget/nuget.sh @@ -0,0 +1,21 @@ +#!/bin/bash +# +# +# Front-end for nuget that runs nuget in a docker image. + +set -ex + +if [[ -f /.dockerenv ]]; then + echo "Inside docker" + + pushd $(dirname $0) + + nuget $* + + popd + +else + echo "Running docker image" + docker run -v $(pwd):/io mono:latest /io/$0 $* +fi + |