Dockerfile 645 B

1234567891011121314151617181920
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. ARG TAG=3.5.6
  5. FROM homebrew/brew:${TAG}
  6. # Install libxcrypt using Homebrew.
  7. RUN brew install libxcrypt --overwrite
  8. # Install all other dependencies using Homebrew.
  9. RUN brew install bazelisk node python@3.9
  10. # Install all python dependencies modules using Pip.
  11. RUN pip3 install -U pip
  12. RUN pip3 install pre-commit black codespell
  13. # Install Clang/LLVM using Homebrew.
  14. # Many Clang/LLVM releases aren't built with options we rely on.
  15. RUN brew install llvm