Skip to content

Commit 7fcae46

Browse files
authored
Add default replay_build.sh to base image. (#13444)
So it can be easily copied/re-used.
1 parent 753661c commit 7fcae46

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

infra/base-images/base-builder/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,10 +177,11 @@ COPY bazel_build_fuzz_tests \
177177
install_ruby.sh \
178178
install_rust.sh \
179179
install_swift.sh \
180+
make_build_replayable.py \
180181
python_coverage_helper.py \
182+
replay_build.sh \
181183
srcmap \
182184
write_labels.py \
183-
make_build_replayable.py \
184185
/usr/local/bin/
185186

186187
# TODO: Build this as part of a multi-stage build.
File renamed without changes.

infra/experimental/chronos/build_cache_local.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,9 @@ docker run \
4949
--name=${_PROJECT}-origin-${_SANITIZER} \
5050
-v=$PWD/ccaches/${_PROJECT}/ccache:/workspace/ccache \
5151
-v=$PWD/build/out/${_PROJECT}/:/out/ \
52-
-v=$BASE/infra/experimental/chronos:/chronos/ \
5352
gcr.io/oss-fuzz/${_PROJECT} \
5453
/bin/bash -c \
55-
"export PATH=/ccache/bin:\$PATH && compile && cp /chronos/replay_build.sh \$SRC/"
54+
"export PATH=/ccache/bin:\$PATH && compile && cp /usr/local/bin/replay_build.sh \$SRC/"
5655
B_TIME=$(($SECONDS - $B_START))
5756

5857
# Step 3: save (commit, locally) the cached container as an image

0 commit comments

Comments
 (0)