mirror of
https://github.com/linuxserver/docker-duplicati.git
synced 2026-04-13 00:04:04 +08:00
Merge pull request #87 from linuxserver/master-captcha-fonts
This commit is contained in:
commit
2ce77037f8
@ -21,14 +21,16 @@ ENV HOME="/config" \
|
||||
|
||||
RUN \
|
||||
echo "**** install packages ****" && \
|
||||
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections && \
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
libicu74 \
|
||||
ttf-mscorefonts-installer \
|
||||
unzip && \
|
||||
echo "**** install duplicati ****" && \
|
||||
if [ -z ${DUPLICATI_RELEASE+x} ]; then \
|
||||
DUPLICATI_RELEASE=$(curl -sX GET "https://api.github.com/repos/duplicati/duplicati/releases" \
|
||||
| jq -r 'first(.[] | select(.tag_name | contains("beta"))) | .tag_name'); \
|
||||
| jq -r 'first(.[] | select(.tag_name | contains("beta"))) | .tag_name'); \
|
||||
fi && \
|
||||
duplicati_url=$(curl -s "https://api.github.com/repos/duplicati/duplicati/releases/tags/${DUPLICATI_RELEASE}" | jq -r '.assets[].browser_download_url' |grep 'linux-x64-gui.zip$') && \
|
||||
curl -o \
|
||||
|
||||
@ -21,14 +21,16 @@ ENV HOME="/config" \
|
||||
|
||||
RUN \
|
||||
echo "**** install pockages ****" && \
|
||||
echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections && \
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
libicu74 \
|
||||
ttf-mscorefonts-installer \
|
||||
unzip && \
|
||||
echo "**** install duplicati ****" && \
|
||||
if [ -z ${DUPLICATI_RELEASE+x} ]; then \
|
||||
DUPLICATI_RELEASE=$(curl -sX GET "https://api.github.com/repos/duplicati/duplicati/releases" \
|
||||
| jq -r 'first(.[] | select(.tag_name | contains("beta"))) | .tag_name'); \
|
||||
| jq -r 'first(.[] | select(.tag_name | contains("beta"))) | .tag_name'); \
|
||||
fi && \
|
||||
duplicati_url=$(curl -s "https://api.github.com/repos/duplicati/duplicati/releases/tags/${DUPLICATI_RELEASE}" | jq -r '.assets[].browser_download_url' |grep 'linux-arm64-gui.zip$') && \
|
||||
curl -o \
|
||||
|
||||
@ -6,6 +6,8 @@ external_type: custom_json
|
||||
release_type: stable
|
||||
release_tag: latest
|
||||
ls_branch: master
|
||||
image_sbom: true
|
||||
image_provenance: true
|
||||
repo_vars:
|
||||
- JSON_URL = 'https://api.github.com/repos/duplicati/duplicati/releases'
|
||||
- JSON_PATH = 'first(.[] | select(.tag_name | contains("beta"))) | .tag_name'
|
||||
|
||||
@ -49,6 +49,7 @@ app_setup_block: |
|
||||
|
||||
# changelog
|
||||
changelogs:
|
||||
- { date: "03.12.24:", desc: "Add mscorefonts for captcha support." }
|
||||
- { date: "29.11.24:", desc: "Rebase to Noble, add support for settings DB encryption." }
|
||||
- { date: "15.02.23:", desc: "Rebase to Jammy." }
|
||||
- { date: "03.08.22:", desc: "Deprecate armhf." }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user