Compare commits

...

2 Commits

Author SHA1 Message Date
Peter Dave Hello 430d0854f2
Add more "Build and Compile" tools (#77) 2023-10-16 12:04:16 +05:30
Peter Dave Hello 43a6c97bcd
Refine git clone commands in Dockerfiles (#76)
Adjusted git clone commands in Dockerfiles to use `--depth=1`. This
optimizes the cloning process by fetching a limited history, thereby
saving resources and time.
2023-10-16 12:04:01 +05:30
3 changed files with 3 additions and 2 deletions

1
has
View File

@ -196,6 +196,7 @@ __detect(){
## Build and Compile
gcc|make|cmake|bats) __dynamic_detect--version "${command}" ;;
g++|clang|ccache) __dynamic_detect--version "${command}" ;;
ninja) __dynamic_detect--version "${command}" ;;
composer) __dynamic_detect-V "${command}" ;;
pip|pip3|conda) __dynamic_detect-V "${command}" ;;

View File

@ -76,7 +76,7 @@ RUN apk add --no-cache \
"bats-core-bats-core-${commit}/install.sh" /usr/local && \
\
brew=2.2.13 && \
git clone --branch ${brew} https://github.com/Homebrew/brew && \
git clone --depth=1 --branch ${brew} https://github.com/Homebrew/brew && \
eval $(brew/bin/brew shellenv) && \
ln -s /brew/bin/brew /usr/local/bin/brew && \
brew --version && \

View File

@ -77,7 +77,7 @@ RUN apt-get update && DEBIAN_FRONTEND="noninteractive" apt-get install --no-inst
"bats-core-bats-core-${commit}/install.sh" /usr/local && \
\
brew=2.2.13 && \
git clone --branch ${brew} https://github.com/Homebrew/brew && \
git clone --depth=1 --branch ${brew} https://github.com/Homebrew/brew && \
locale-gen en_US en_US.UTF-8 && \
eval $(brew/bin/brew shellenv) && \
ln -s /brew/bin/brew /usr/local/bin/brew && \