Skip to content

Commit

Permalink
Pin Debian Docker image to bookworm for better hermeticity.
Browse files Browse the repository at this point in the history
Prompted by #9

PiperOrigin-RevId: 582175219
  • Loading branch information
ksteuck authored and copybara-github committed Nov 14, 2023
1 parent faa604c commit a952508
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .kokoro/gcp_ubuntu/kokoro_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ set -eu
# in the job configuration.
cd "${KOKORO_ARTIFACTS_DIR}/github/silifuzz/.kokoro/gcp_ubuntu"

DOCKER_IMAGE=debian
# Pin Debian Docker image to bookworm for better hermeticity.
# See https://github.com/google/silifuzz/issues/9.
DOCKER_IMAGE=debian:bookworm

docker run \
--security-opt seccomp=unconfined \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ cd "${SILIFUZZ_BIN_DIR}"

NOTE: You can use a Docker container to avoid polluting the host system: `docker
run -it --tty --security-opt seccomp=unconfined --mount
type=bind,source=${SILIFUZZ_SRC_DIR},target=/app debian /bin/bash -c "cd /app &&
type=bind,source=${SILIFUZZ_SRC_DIR},target=/app debian:bookworm /bin/bash -c "cd /app &&
./install_build_dependencies.sh && bazel build ... && bazel test ..."`

### Prework (fuzzing Unicorn target)
Expand Down

0 comments on commit a952508

Please sign in to comment.