-
-
Notifications
You must be signed in to change notification settings - Fork 43
/
Dockerfile.x86_64
20 lines (18 loc) · 953 Bytes
/
Dockerfile.x86_64
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM debian:wheezy
LABEL maintainer="Shaun Jackman <[email protected]>"
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 printf 'deb http://archive.debian.org/debian wheezy main\ndeb http://security.debian.org/debian-security wheezy/updates main\n' >/etc/apt/sources.list \
&& apt-get update \
&& apt-get install -y --no-install-recommends \
ca-certificates curl file g++ git-core locales make patch \
&& rm -rf /var/lib/apt/lists/* \
&& localedef -i en_US -f UTF-8 en_US.UTF-8 \
&& useradd -m -s /bin/bash linuxbrew \
&& git clone --depth=1 https://github.com/Homebrew/brew /home/linuxbrew/.linuxbrew/Homebrew \
&& mkdir /home/linuxbrew/.linuxbrew/bin \
&& ln -s ../Homebrew/bin/brew /home/linuxbrew/.linuxbrew/bin/ \
&& brew tap homebrew/portable-ruby