Giter VIP home page Giter VIP logo

homebrew-bottle-mirror's Introduction

Homebrew Bottle Mirror

FOSSA Status

mirror tools for syncing homebrew bottle files.

Usage

General way

run the following command on your Mac:

brew tap gaoyifan/bottle-mirror
brew bottle-mirror

docker

# homebrew core repository
docker run -itd \
  --name=homebrew-bottles \
  -v $YOUR_REPOSITORY_DIR:/srv/data \
  gaoyifan/homebrew-bottle-mirror
# homebrew tap repository
docker run -itd \
  --name=homebrew-bottles \
  -e HOMEBREW_TAP=$tap \
  -v $YOUR_REPOSITORY_DIR:/srv/data \
  gaoyifan/homebrew-bottle-mirror

Some useful environment variables:

Parameter Default value Description
DOCKER_UID 1000 program uid inside docker container
HOMEBREW_TAP           <null>                     sync a specific tap  repository          
HOMEBREW_BOTTLE_DOMAIN http://homebrew.bintray.com upstream repository
HOMEBREW_CACHE /srv/data where the repository store inside the docker container

available HOMEBREW_TAP value:

  • dupes
  • games
  • gui
  • python
  • php
  • science
  • versions
  • x11

more information for docker

Public mirror

https://mirrors.ustc.edu.cn/homebrew-bottles/

How to use?

add the following line to your ~/.bash_profile (if you use bash)

export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.ustc.edu.cn/homebrew-bottles

then load the new configration

$ source ~/.bash_profile

License

FOSSA Status

homebrew-bottle-mirror's People

Contributors

fossabot avatar gaoyifan avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.