mirror of
https://github.com/tuna/tunasync-scripts.git
synced 2025-04-20 04:12:42 +00:00
add Docker image for linuxbrew
This commit is contained in:
parent
063b349ea1
commit
12d20f2820
9
dockerfiles/homebrew-mirror/Dockerfile
Normal file
9
dockerfiles/homebrew-mirror/Dockerfile
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
FROM alpine:3
|
||||||
|
|
||||||
|
RUN apk add --no-cache bash ruby ruby-bigdecimal git curl ncurses ruby-json ruby-etc ruby-irb ruby-json ruby-test-unit
|
||||||
|
|
||||||
|
RUN git clone --depth 1 https://github.com/Homebrew/brew.git /home/homebrew/.linuxbrew/homebrew && cd /home/homebrew/.linuxbrew && mkdir bin && ln -s /home/homebrew/.linuxbrew/homebrew/bin/brew /home/homebrew/.linuxbrew/bin
|
||||||
|
|
||||||
|
RUN git clone --depth 1 https://github.com/gaoyifan/homebrew-bottle-mirror.git /home/homebrew/.linuxbrew/homebrew/Library/Taps/gaoyifan/homebrew-bottle-mirror
|
||||||
|
|
||||||
|
RUN chown -R 2000 /home/homebrew
|
Loading…
x
Reference in New Issue
Block a user