mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-03 12:15:51 +01:00
- Since VS Code Dev container extention has a non-interactive shell, user cannot select a specific image if there are multiple images under same named authors. - This fix ensures that images are only pulled from Docker Hub and no interactive menu is presented. - References: #1816, #1817 - Fixes #2043 Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
21 lines
655 B
Docker
21 lines
655 B
Docker
# Part of the Carbon Language project, under the Apache License v2.0 with LLVM
|
|
# Exceptions. See /LICENSE for license information.
|
|
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
|
|
ARG TAG=3.5.6
|
|
FROM docker.io/homebrew/brew:${TAG}
|
|
|
|
# Install libxcrypt using Homebrew.
|
|
RUN brew install libxcrypt --overwrite
|
|
|
|
# Install all other dependencies using Homebrew.
|
|
RUN brew install bazelisk node python@3.9
|
|
|
|
# Install all python dependencies modules using Pip.
|
|
RUN pip3 install -U pip
|
|
RUN pip3 install pre-commit black codespell
|
|
|
|
# Install Clang/LLVM using Homebrew.
|
|
# Many Clang/LLVM releases aren't built with options we rely on.
|
|
RUN brew install llvm
|