Skip to content

Commit

Permalink
Do not permit errors in docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
dalehamel authored and yonghong-song committed Oct 23, 2020
1 parent 9269e48 commit 4967a61
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/docker/build.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

set -e
# Builds debian packages using docker wrapper

function help() {
Expand All @@ -23,5 +23,5 @@ echo "Building ${distro} ${os_tag} release docker image for ${docker_repo}:${doc
docker build -t ${docker_repo}:${docker_tag} --build-arg OS_TAG=${os_tag} -f Dockerfile.${distro} .

echo "Copying build artifacts to $(pwd)/output"
mkdir output
mkdir -p output
docker run -v $(pwd)/output:/output ${docker_repo}:${docker_tag} /bin/bash -c "cp /root/bcc/* /output"

0 comments on commit 4967a61

Please sign in to comment.