Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools/syz-env: add local build option and consider HTTP proxy environment variables #5386

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sephalon
Copy link

Useful for testing local Dockerfile changes that have not been pushed yet.

In extension of commit 326f9c5 ("tools/syz-env: export https_proxy to docker in case behind proxy"), cover further HTTP proxy environment variables and the Docker build process.

Useful for testing local Dockerfile changes that have not been pushed yet.
In extension of commit 326f9c5 ("tools/syz-env: export https_proxy
to docker in case behind proxy"), cover further HTTP proxy environment
variables and the Docker build process.
@sephalon sephalon changed the title tools/syz-env: add local build option and consider HTTP proxy environment variablesd tools/syz-env: add local build option and consider HTTP proxy environment variables Oct 11, 2024
Copy link
Collaborator

@a-nogikh a-nogikh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

# Build or update docker image
if [ ! -z "$SYZ_ENV_BUILD" ]; then
IMAGE_NAME="syz-$IMAGE"
docker build "tools/docker/$IMAGE" --tag "$IMAGE_NAME" ${BUILDARGS[@]}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's make the path relative to $SCRIPT_DIR -- it should be more reliable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants