mirror of https://github.com/junegunn/fzf
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
586 B
Docker
27 lines
586 B
Docker
FROM centos:centos6
|
|
MAINTAINER Junegunn Choi <junegunn.c@gmail.com>
|
|
|
|
# yum
|
|
RUN yum install -y git gcc make tar glibc-devel glibc-devel.i686 \
|
|
ncurses-devel ncurses-static ncurses-devel.i686 \
|
|
gpm-devel gpm-static libgcc.i686
|
|
|
|
# Install Go 1.4
|
|
RUN cd / && curl \
|
|
https://storage.googleapis.com/golang/go1.4.2.linux-amd64.tar.gz | \
|
|
tar -xz && mv go go1.4
|
|
|
|
ENV GOPATH /go
|
|
ENV GOROOT /go1.4
|
|
ENV PATH /go1.4/bin:$PATH
|
|
|
|
# For i386 build
|
|
RUN cd $GOROOT/src && GOARCH=386 ./make.bash
|
|
|
|
# Volume
|
|
VOLUME /go
|
|
|
|
# Default CMD
|
|
CMD cd /go/src/github.com/junegunn/fzf/src && /bin/bash
|
|
|