Skip to content

Commit

Permalink
Update build_binary_and_layer_dockerized.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
thedavl committed Aug 18, 2023
1 parent a579244 commit be122c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/build_binary_and_layer_dockerized.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ function docker_build_zip {
unzip $TARGET_DIR/datadog_extension-${arch}${suffix}.zip -d $TARGET_DIR/datadog_extension-${arch}${suffix}
}

if [[ "$SERVERLESS_INIT" == "true" && "$ALPINE" == "true" ]]; then
if [[ "$SERVERLESS_INIT" == "true" && "$ALPINE" == "false" ]]; then
echo "Building serverless init for non-alpine amd64 & arm64"
docker_build_zip amd64
docker_build_zip arm64
elif [[ "$SERVERLESS_INIT" == "true" && "$ALPINE" == "false" ]]; then
elif [[ "$SERVERLESS_INIT" == "true" && "$ALPINE" == "true" ]]; then
echo "Building serverless init for alpine amd64 & arm64"
BUILD_FILE=Dockerfile.alpine.build
docker_build_zip amd64 -alpine
Expand Down

0 comments on commit be122c1

Please sign in to comment.