1
0
Fork 0
mirror of https://github.com/imtbl/hydrus-server-docker synced 2024-04-27 09:12:54 +12:00

feat: Update hydrus server version

This commit is contained in:
Michael Serajnik 2019-02-10 00:29:35 +01:00
parent 77ac812d1d
commit f9bc70acdd
No known key found for this signature in database
GPG key ID: B390A5CBA3ECB74D
5 changed files with 19 additions and 9 deletions

3
.gitmodules vendored Normal file
View file

@ -0,0 +1,3 @@
[submodule "hydrus"]
path = hydrus
url = https://github.com/hydrusnetwork/hydrus

View file

@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
## [Unreleased]
### Changed
+ Updated hydrus server version
+ Included hydrus server as a Git submodule instead of downloading the sources
when building
## [2.2.0] - 2019-02-01
### Changed

View file

@ -16,10 +16,9 @@ RUN \
WORKDIR /usr/src/app
COPY ./hydrus .
RUN \
wget "https://github.com/hydrusnetwork/hydrus/archive/v338.tar.gz" && \
tar zxvf $(ls | grep ".tar.gz") --strip-components 1 && \
rm $(ls | grep ".tar.gz") && \
chown -R hydrus:hydrus /usr/src/app && \
chmod +x server.py && \
chmod +x bin/swfrender_linux bin/upnpc_linux && \
@ -36,7 +35,8 @@ RUN \
libffi-dev \
linux-headers \
openssl \
openssl-dev && \
openssl-dev \
zlib-dev && \
pip install virtualenv && \
virtualenv venv && \
source venv/bin/activate && \
@ -54,7 +54,7 @@ RUN \
service_identity~=18.1.0 \
twisted~=18.9.0 && \
rm -r ~/.cache && \
apk del build-base jpeg-dev libffi-dev linux-headers openssl-dev
apk del build-base jpeg-dev libffi-dev linux-headers openssl-dev zlib-dev
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint
RUN chmod +x /usr/local/bin/docker-entrypoint

View file

@ -7,7 +7,7 @@ This is a simple Alpine-based Docker setup for running
easier to run hydrus server together with [hydrusrv][hydrusrv], but can of
course also be used on its own.
The latest build runs [hydrus server version 338][hydrus-server-version].
The latest build runs [hydrus server version 339][hydrus-server-version].
## Table of contents
@ -35,7 +35,7 @@ By default, this will pull the latest build. To specify an image with a
specific version of hydrus server, provide the version number as tag, e.g.:
```zsh
user@local:~$ docker pull mserajnik/hydrus-server-docker:338
user@local:~$ docker pull mserajnik/hydrus-server-docker:339
```
See [here][docker-hub-tags] for all the available version numbers/tags.
@ -155,13 +155,13 @@ You are welcome to help out!
[hydrus-server]: http://hydrusnetwork.github.io/hydrus/
[hydrusrv]: https://github.com/mserajnik/hydrusrv
[hydrus-server-version]: https://github.com/hydrusnetwork/hydrus/releases/tag/v338
[hydrus-server-version]: https://github.com/hydrusnetwork/hydrus/releases/tag/v339
[docker-hub]: https://hub.docker.com/r/mserajnik/hydrus-server-docker/
[docker-hub-tags]: https://hub.docker.com/r/mserajnik/hydrus-server-docker/tags/
[docker]: https://www.docker.com/
[semantic-versioning]: https://semver.org/
[hydrus-server-badge]: https://img.shields.io/badge/hydrus%20server-version%20338-blue.svg
[hydrus-server-badge]: https://img.shields.io/badge/hydrus%20server-version%20339-blue.svg
[travis]: https://travis-ci.com/mserajnik/hydrus-server-docker
[travis-badge]: https://travis-ci.com/mserajnik/hydrus-server-docker.svg

1
hydrus Submodule

@ -0,0 +1 @@
Subproject commit 76195402624b3dfe4246480800c97105581981fe