Skip to content

Commit

Permalink
Merge pull request #7 from macbre/v3.2.1
Browse files Browse the repository at this point in the history
Sphinx: build for v3.2.1
  • Loading branch information
macbre authored Mar 19, 2020
2 parents d55772f + 719c446 commit 97907a9
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
FROM alpine:3.8

# https://sphinxsearch.com/blog/
ENV SPHINX_VERSION 3.1.1-612d99f
ENV SPHINX_VERSION 3.2.1-f152e0b

# install dependencies
RUN apk add --no-cache mariadb-connector-c-dev \
Expand All @@ -14,13 +14,13 @@ RUN apk add --no-cache mariadb-connector-c-dev \
RUN mkdir -pv /opt/sphinx/log /opt/sphinx/index
VOLUME /opt/sphinx/index

# http://sphinxsearch.com/files/sphinx-3.1.1-612d99f-linux-amd64-musl.tar.gz
# http://sphinxsearch.com/files/sphinx-3.2.1-f152e0b-linux-amd64-musl.tar.gz
RUN wget http://sphinxsearch.com/files/sphinx-${SPHINX_VERSION}-linux-amd64-musl.tar.gz -O /tmp/sphinxsearch.tar.gz
RUN cd /opt/sphinx && tar -xf /tmp/sphinxsearch.tar.gz
RUN rm /tmp/sphinxsearch.tar.gz

# point to sphinx binaries
ENV PATH "${PATH}:/opt/sphinx/sphinx-3.1.1/bin"
ENV PATH "${PATH}:/opt/sphinx/sphinx-3.2.1/bin"
RUN indexer -v

# redirect logs to stdout
Expand Down
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ You can use this image in `docker-compose`-powered app:
```yaml
services:
sphinx:
image: macbre/sphinxsearch:3.0.1
image: macbre/sphinxsearch:3.2.1
ports:
- "127.0.0.1:36307:36307" # bind to local interface only!
volumes:
Expand All @@ -23,7 +23,23 @@ services:
## [Tags available](https://hub.docker.com/r/macbre/sphinxsearch/tags/)
### `3.1.1`, `latest`
### `3.2.1`, `latest`

```
Sphinx 3.2.1 (commit f152e0b8)
Copyright (c) 2001-2020, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)

Built on: Linux alpine38 4.14.69-0-vanilla #1-Alpine SMP Mon Sep 10 19:33:23 UTC 2018 x86_64 Linux
Built with: gcc 6.4.0
Build date: Jan 31 2020
Build type: release
Configure flags: '--enable-dl' '--with-mysql' '--with-pgsql' '--with-unixodbc' 'CXXFLAGS=-DSPHINX_TAG= -DNDEBUG -O3 -g1 -D__MUSL__' 'LDFLAGS=-static-libstdc++ -static-libgcc'
Compiled DB drivers: mysql-dynamic pgsql-dynamic odbc-dynamic
Enabled dynamic drivers: mysql pgsql
```
### `3.1.1`
```
Sphinx 3.1.1 (commit 612d99f4)
Expand Down

0 comments on commit 97907a9

Please sign in to comment.