Skip to content

Commit

Permalink
Merge pull request #54 from linuxserver/3.20
Browse files Browse the repository at this point in the history
Rebase to 3.20
  • Loading branch information
thespad authored Jun 6, 2024
2 parents 91ae32f + 0201c06 commit 7381105
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 17 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM ghcr.io/linuxserver/baseimage-alpine:3.19
FROM ghcr.io/linuxserver/baseimage-alpine:3.20

# set version label
ARG BUILD_DATE
Expand All @@ -27,6 +27,7 @@ RUN \
/tmp/ubooquity.zip -L \
"https://vaemendis.net/ubooquity/downloads/Ubooquity-${UBOOQUITY_VERSION}.zip" && \
unzip /tmp/ubooquity.zip -d /app/ubooquity && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.19
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.20

# set version label
ARG BUILD_DATE
Expand All @@ -27,6 +27,7 @@ RUN \
/tmp/ubooquity.zip -L \
"https://vaemendis.net/ubooquity/downloads/Ubooquity-${UBOOQUITY_VERSION}.zip" && \
unzip /tmp/ubooquity.zip -d /app/ubooquity && \
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
Expand Down
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ pipeline {
CI_PORT='2203'
CI_SSL='false'
CI_DELAY='120'
CI_DOCKERENV='TZ=US/Pacific'
CI_AUTH='user:password'
CI_DOCKERENV=''
CI_AUTH=''
CI_WEBPATH='/ubooquity/admin'
}
stages {
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ The architectures supported by this image are:

## Application Setup

**IMPORTANT**
Ubooquity has now been upgraded to [version 2](http://vaemendis.net/ubooquity/article19/ubooquity-2-1-0) and for existing v1.x users we recommend cleaning your appdata and reinstalling, due to changes in the application itself making the two versions essentially incompatible with each other. Also the admin page and library pages are now on separate ports as detailed below.

Access the admin page at `http://<your-ip>:2203/ubooquity/admin` and set a password.

Then you can access the webui at `http://<your-ip>:2202/ubooquity/`
Expand Down Expand Up @@ -301,6 +298,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **06.06.24:** - Rebase to Alpine 3.20.
* **20.03.24:** - Rebase to Alpine 3.19.
* **29.10.23:** - Bump JRE to 17 to support v3.
* **12.07.23:** - Rebase to Alpine 3.18.
Expand Down
4 changes: 2 additions & 2 deletions jenkins-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ repo_vars:
- CI_PORT='2203'
- CI_SSL='false'
- CI_DELAY='120'
- CI_DOCKERENV='TZ=US/Pacific'
- CI_AUTH='user:password'
- CI_DOCKERENV=''
- CI_AUTH=''
- CI_WEBPATH='/ubooquity/admin'
10 changes: 3 additions & 7 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,15 @@ project_url: "https://vaemendis.net/ubooquity/"
project_logo: "https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/ubooquity-banner.png"
project_blurb: "[{{ project_name|capitalize }}]({{ project_url }}) is a free, lightweight and easy-to-use home server for your comics and ebooks. Use it to access your files from anywhere, with a tablet, an e-reader, a phone or a computer."
project_lsio_github_repo_url: "https://github.com/linuxserver/docker-{{ project_name }}"
project_blurb_optional_extras_enabled: false

# supported architectures
available_architectures:
- {arch: "{{ arch_x86_64 }}", tag: "amd64-latest"}
- {arch: "{{ arch_arm64 }}", tag: "arm64v8-latest"}
# development version
development_versions: false

# container parameters
common_param_env_vars_enabled: true
param_container_name: "{{ project_name }}"
param_usage_include_net: false
opt_param_usage_include_env: true
opt_param_env_vars:
- {env_var: "MAXMEM", env_value: "", desc: "To set the maximum memory. ( ex: set '1024' for 1GB )"}
Expand All @@ -34,9 +32,6 @@ param_ports:
# application setup block
app_setup_block_enabled: true
app_setup_block: |
**IMPORTANT**
Ubooquity has now been upgraded to [version 2](http://vaemendis.net/ubooquity/article19/ubooquity-2-1-0) and for existing v1.x users we recommend cleaning your appdata and reinstalling, due to changes in the application itself making the two versions essentially incompatible with each other. Also the admin page and library pages are now on separate ports as detailed below.
Access the admin page at `http://<your-ip>:2203/ubooquity/admin` and set a password.
Then you can access the webui at `http://<your-ip>:2202/ubooquity/`
Expand All @@ -52,6 +47,7 @@ app_setup_block: |
If no value is set it will default to 512MB.
# changelog
changelogs:
- {date: "06.06.24:", desc: "Rebase to Alpine 3.20."}
- {date: "20.03.24:", desc: "Rebase to Alpine 3.19."}
- {date: "29.10.23:", desc: "Bump JRE to 17 to support v3."}
- {date: "12.07.23:", desc: "Rebase to Alpine 3.18."}
Expand Down
3 changes: 2 additions & 1 deletion root/etc/s6-overlay/s6-rc.d/svc-ubooquity/run
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
# shellcheck shell=bash

JAVAMEM=${MAXMEM:-512}
PORT=$(jq -r '.adminPortNumber' < /config/preferences.json)

exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 2203" \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost ${PORT:-2203}" \
cd /app/ubooquity s6-setuidgid abc java -Xmx"$JAVAMEM"m \
-jar /app/ubooquity/Ubooquity.jar \
--headless --host 0.0.0.0 --remoteadmin \
Expand Down

0 comments on commit 7381105

Please sign in to comment.