Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
Remve KVS (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
mosuka authored Mar 31, 2019
1 parent c227c19 commit 75fba55
Show file tree
Hide file tree
Showing 1,964 changed files with 28 additions and 1,339,773 deletions.
17 changes: 10 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@
# See the License for the specific language governing permissions and
# limitations under the License.

FROM ubuntu:18.10
FROM golang:1.12.1-stretch

ARG VERSION

ENV GOPATH /go

COPY . ${GOPATH}/src/github.com/mosuka/blast

RUN apt-get update && \
RUN echo "deb http://ftp.us.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list && \
echo "deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free" >> /etc/apt/sources.list && \
apt-get update && \
apt-get install -y \
git \
golang \
Expand All @@ -31,8 +33,8 @@ RUN apt-get update && \
g++-4.8 \
build-essential && \
apt-get clean && \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 80 && \
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-8 80 && \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-6 80 && \
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-6 80 && \
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.8 90 && \
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90 && \
go get -u -v github.com/blevesearch/cld2 && \
Expand All @@ -42,14 +44,15 @@ RUN apt-get update && \
./compile_libs.sh && \
cp *.so /usr/local/lib && \
cd ${GOPATH}/src/github.com/mosuka/blast && \
GOOS=linux \
make \
GOOS=linux \
GOARCH=amd64 \
CGO_ENABLED=1 \
BUILD_TAGS="kagome icu libstemmer cld2 cznicb leveldb badger" \
VERSION="${VERSION}" \
make build
build

FROM ubuntu:18.10
FROM debian:stretch-slim

MAINTAINER Minoru Osuka "minoru.osuka@gmail.com"

Expand Down
Loading

0 comments on commit 75fba55

Please sign in to comment.