diff options
| author | Junegunn Choi <junegunn.c@gmail.com> | 2015-01-06 02:04:06 +0900 |
|---|---|---|
| committer | Junegunn Choi <junegunn.c@gmail.com> | 2015-01-06 02:04:06 +0900 |
| commit | 3e6c950e12c5cdaa0a5e17915fc75ccd6e3648c2 (patch) | |
| tree | 0a800a8b91500ee48a2c1ad28976ecd6907fa772 /src/Dockerfile.arch | |
| parent | ee2ee025993421b243ef668e4d4ee395a5201820 (diff) | |
| download | fzf-3e6c950e12c5cdaa0a5e17915fc75ccd6e3648c2.tar.gz | |
Build i386 binary as well
Diffstat (limited to 'src/Dockerfile.arch')
| -rw-r--r-- | src/Dockerfile.arch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/Dockerfile.arch b/src/Dockerfile.arch new file mode 100644 index 00000000..9fa4ea3c --- /dev/null +++ b/src/Dockerfile.arch @@ -0,0 +1,25 @@ +FROM base/archlinux:2014.07.03 +MAINTAINER Junegunn Choi <junegunn.c@gmail.com> + +# apt-get +RUN pacman-db-upgrade && pacman -Syu --noconfirm base-devel git + +# Install Go 1.4 +RUN cd / && curl \ + https://storage.googleapis.com/golang/go1.4.linux-amd64.tar.gz | \ + tar -xz && mv go go1.4 + +ENV GOPATH /go +ENV GOROOT /go1.4 +ENV PATH /go1.4/bin:$PATH + +# Symlink fzf directory +RUN mkdir -p /go/src/github.com/junegunn && \ + ln -s /fzf /go/src/github.com/junegunn/fzf + +# Volume +VOLUME /fzf + +# Default CMD +CMD cd /go/src/github.com/junegunn/fzf/src && /bin/bash + |
