Skip to content

Commit

Permalink
chore: Add MODULE.bazel to the docker image early on.
Browse files Browse the repository at this point in the history
We need it for bazel 7. For bazel 6, it's also good practice.
  • Loading branch information
iphydf committed Dec 5, 2024
1 parent fedd617 commit 6d2530f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dockerfiles
2 changes: 1 addition & 1 deletion qtox
Submodule qtox updated 1 files
+2 −2 test/core/core_test.cpp
4 changes: 2 additions & 2 deletions tools/built/src/Dockerfile.third_party
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM toxchat/bazel:24.05
FROM toxchat/bazel:latest

# Needed for Cirrus CI to work.
RUN ["mkdir", "/tmp/cirrus-ci-build"]
Expand All @@ -8,7 +8,7 @@ RUN ["mkdir", "/tmp/cirrus-ci-build"]
# minimum number of files to avoid rebuilding this when making changes to the
# toktok-stack tools.
COPY --chown=builder:users tools/bazelrc.boot /src/workspace/.bazelrc
COPY --chown=builder:users BUILD.bazel WORKSPACE .bazelignore ghc.nix /src/workspace/
COPY --chown=builder:users BUILD.bazel MODULE.bazel WORKSPACE .bazelignore ghc.nix /src/workspace/
COPY --chown=builder:users third_party /src/workspace/third_party
COPY --chown=builder:users tools/config /src/workspace/tools/config
COPY --chown=builder:users tools/workspace /src/workspace/tools/workspace
Expand Down

0 comments on commit 6d2530f

Please sign in to comment.