-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
use the same docker file for all architectures
- Loading branch information
Showing
6 changed files
with
37 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
*/ | ||
!/Dockerfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
ARG img=debian/eol:wheezy | ||
FROM ${img} | ||
|
||
RUN uname -a | ||
|
||
ENV PATH=/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:$PATH \ | ||
HOMEBREW_BUILD_BOTTLE=1 \ | ||
HOMEBREW_DEVELOPER=1 \ | ||
HOMEBREW_NO_ANALYTICS=1 \ | ||
HOMEBREW_NO_AUTO_UPDATE=1 | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
bzip2 \ | ||
ca-certificates \ | ||
curl \ | ||
file \ | ||
g++ \ | ||
git-core \ | ||
locales \ | ||
make \ | ||
patch \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
RUN localedef -i en_US -f UTF-8 en_US.UTF-8 \ | ||
&& useradd -m -s /bin/bash linuxbrew | ||
|
||
RUN git clone --depth=1 https://github.com/Homebrew/brew /home/linuxbrew/.linuxbrew/Homebrew \ | ||
&& git clone --depth=1 https://github.com/Homebrew/linuxbrew-core /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core \ | ||
&& mkdir /home/linuxbrew/.linuxbrew/bin \ | ||
&& ln -s ../Homebrew/bin/brew /home/linuxbrew/.linuxbrew/bin/ \ | ||
&& brew tap homebrew/portable-ruby |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.