mirror of
https://github.com/linuxserver/docker-bazarr.git
synced 2026-02-20 01:02:49 +08:00
Bot Updating Templated Files
This commit is contained in:
parent
e14e936f7b
commit
469d6c3044
4
Jenkinsfile
vendored
4
Jenkinsfile
vendored
@ -327,12 +327,12 @@ pipeline {
|
||||
LOCAL_CONTAINER=${IMAGE}:${META_TAG}
|
||||
fi
|
||||
if [ "${DIST_IMAGE}" == "alpine" ]; then
|
||||
docker run --rm -v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} sh -c '\
|
||||
docker run --rm --entrypoint '/bin/sh' -v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} -c '\
|
||||
apk info > packages && \
|
||||
apk info -v > versions && \
|
||||
paste -d " " packages versions > /tmp/package_versions.txt'
|
||||
elif [ "${DIST_IMAGE}" == "ubuntu" ]; then
|
||||
docker run --rm -v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} sh -c '\
|
||||
docker run --rm --entrypoint '/bin/sh' -v ${TEMPDIR}:/tmp ${LOCAL_CONTAINER} -c '\
|
||||
apt -qq list --installed | awk "{print \$1,\$2}" > /tmp/package_versions.txt'
|
||||
fi
|
||||
if [ "$(md5sum ${TEMPDIR}/package_versions.txt | cut -c1-8 )" != "${PACKAGE_TAG}" ]; then
|
||||
|
||||
@ -58,7 +58,7 @@ docker create \
|
||||
-p 6767:6767 \
|
||||
-v </path/to/bazarr/config>:/config \
|
||||
-v </path/to/movies>:/movies \
|
||||
-v </path/to/tv>:/tv \
|
||||
-v </path/to/tv:/tv \
|
||||
--restart unless-stopped \
|
||||
linuxserver/bazarr
|
||||
```
|
||||
@ -87,7 +87,7 @@ services:
|
||||
volumes:
|
||||
- </path/to/bazarr/config>:/config
|
||||
- </path/to/movies>:/movies
|
||||
- </path/to/tv>:/tv
|
||||
- </path/to/tv:/tv
|
||||
ports:
|
||||
- 6767:6767
|
||||
mem_limit: 4096m
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user