mirror of
https://github.com/imtbl/hydrus-server-docker
synced 2024-05-08 14:43:45 +12:00
feat: Update hydrus server version
This commit is contained in:
parent
77ac812d1d
commit
f9bc70acdd
3
.gitmodules
vendored
Normal file
3
.gitmodules
vendored
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[submodule "hydrus"]
|
||||||
|
path = hydrus
|
||||||
|
url = https://github.com/hydrusnetwork/hydrus
|
|
@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
|
||||||
|
|
||||||
## [Unreleased]
|
## [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
|
## [2.2.0] - 2019-02-01
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
|
|
10
Dockerfile
10
Dockerfile
|
@ -16,10 +16,9 @@ RUN \
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
COPY ./hydrus .
|
||||||
|
|
||||||
RUN \
|
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 && \
|
chown -R hydrus:hydrus /usr/src/app && \
|
||||||
chmod +x server.py && \
|
chmod +x server.py && \
|
||||||
chmod +x bin/swfrender_linux bin/upnpc_linux && \
|
chmod +x bin/swfrender_linux bin/upnpc_linux && \
|
||||||
|
@ -36,7 +35,8 @@ RUN \
|
||||||
libffi-dev \
|
libffi-dev \
|
||||||
linux-headers \
|
linux-headers \
|
||||||
openssl \
|
openssl \
|
||||||
openssl-dev && \
|
openssl-dev \
|
||||||
|
zlib-dev && \
|
||||||
pip install virtualenv && \
|
pip install virtualenv && \
|
||||||
virtualenv venv && \
|
virtualenv venv && \
|
||||||
source venv/bin/activate && \
|
source venv/bin/activate && \
|
||||||
|
@ -54,7 +54,7 @@ RUN \
|
||||||
service_identity~=18.1.0 \
|
service_identity~=18.1.0 \
|
||||||
twisted~=18.9.0 && \
|
twisted~=18.9.0 && \
|
||||||
rm -r ~/.cache && \
|
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
|
COPY docker-entrypoint.sh /usr/local/bin/docker-entrypoint
|
||||||
RUN chmod +x /usr/local/bin/docker-entrypoint
|
RUN chmod +x /usr/local/bin/docker-entrypoint
|
||||||
|
|
|
@ -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
|
easier to run hydrus server together with [hydrusrv][hydrusrv], but can of
|
||||||
course also be used on its own.
|
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
|
## 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.:
|
specific version of hydrus server, provide the version number as tag, e.g.:
|
||||||
|
|
||||||
```zsh
|
```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.
|
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/
|
[hydrus-server]: http://hydrusnetwork.github.io/hydrus/
|
||||||
[hydrusrv]: https://github.com/mserajnik/hydrusrv
|
[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]: https://hub.docker.com/r/mserajnik/hydrus-server-docker/
|
||||||
[docker-hub-tags]: https://hub.docker.com/r/mserajnik/hydrus-server-docker/tags/
|
[docker-hub-tags]: https://hub.docker.com/r/mserajnik/hydrus-server-docker/tags/
|
||||||
[docker]: https://www.docker.com/
|
[docker]: https://www.docker.com/
|
||||||
[semantic-versioning]: https://semver.org/
|
[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]: https://travis-ci.com/mserajnik/hydrus-server-docker
|
||||||
[travis-badge]: https://travis-ci.com/mserajnik/hydrus-server-docker.svg
|
[travis-badge]: https://travis-ci.com/mserajnik/hydrus-server-docker.svg
|
||||||
|
|
1
hydrus
Submodule
1
hydrus
Submodule
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 76195402624b3dfe4246480800c97105581981fe
|
Loading…
Reference in a new issue