We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b518f83 commit 42a22daCopy full SHA for 42a22da
scripts/build_binary_and_layer_dockerized.sh
@@ -21,10 +21,16 @@ fi
21
22
if [ -z "$CLOUD_RUN" ]; then
23
CMD_PATH="cmd/serverless"
24
- BUILD_TAGS="serverless otlp"
25
else
26
CMD_PATH="cmd/serverless-init"
27
- BUILD_TAGS="serverless"
+fi
+
28
+if [ -z "$BUILD_TAGS" ]; then
29
+ if [ -z "$CLOUD_RUN" ]; then
30
+ BUILD_TAGS="serverless otlp"
31
+ else
32
+ BUILD_TAGS="serverless"
33
+ fi
34
fi
35
36
AGENT_PATH="../datadog-agent"
@@ -59,10 +65,6 @@ if [ "$RACE_DETECTION_ENABLED" = "true" ]; then
59
65
BUILD_FILE=Dockerfile.race.build
60
66
61
67
62
-if [ -z "$BUILD_TAGS" ]; then
63
64
-fi
-
68
function docker_build_zip {
69
arch=$1
70
suffix=$2
0 commit comments