mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 13:40:45 +00:00
Misc fixes for Navidrome, RSS2Email
These fix issues with permissions and left-over Podman containers for one-off invocations.
This commit is contained in:
parent
d6201dbff0
commit
290068e759
@ -1,11 +1,11 @@
|
|||||||
FROM debian:bullseye-slim
|
FROM docker.io/debian:bullseye-slim
|
||||||
ARG VERSION=0.47.0
|
ARG VERSION=0.47.0
|
||||||
|
|
||||||
RUN apt-get update -y && apt-get upgrade -y && \
|
RUN apt-get update -y && apt-get upgrade -y && \
|
||||||
apt-get install -y --no-install-recommends curl ca-certificates gosu ffmpeg
|
apt-get install -y --no-install-recommends curl ca-certificates gosu ffmpeg
|
||||||
|
|
||||||
ENV PACKAGE_URL https://github.com/deluan/navidrome/releases/download/v${VERSION}/navidrome_${VERSION}_Linux_x86_64.tar.gz
|
ENV PACKAGE_URL https://github.com/deluan/navidrome/releases/download/v${VERSION}/navidrome_${VERSION}_Linux_x86_64.tar.gz
|
||||||
RUN curl -L ${PACKAGE_URL} | tar -C /bin -xvzf - navidrome && chmod +x /bin/navidrome
|
RUN curl -L ${PACKAGE_URL} | tar -C /bin --no-same-owner -xvzf - navidrome && chmod +x /bin/navidrome
|
||||||
|
|
||||||
RUN apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false curl
|
RUN apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false curl
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM debian:bullseye-slim
|
FROM docker.io/debian:bullseye-slim
|
||||||
ARG VERSION=4a088c7efe1c76fa1ebe842adc8e2a796df8f313
|
ARG VERSION=4a088c7efe1c76fa1ebe842adc8e2a796df8f313
|
||||||
|
|
||||||
RUN apt-get update -y && apt-get install -y --no-install-recommends \
|
RUN apt-get update -y && apt-get install -y --no-install-recommends \
|
||||||
|
@ -6,7 +6,7 @@ After=container-build@%N.service postfix.service
|
|||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
SyslogIdentifier=%N
|
SyslogIdentifier=%N
|
||||||
ExecStart=/bin/podman run --replace --name %N --net internal \
|
ExecStart=/bin/podman run --replace --rm --name %N --net internal \
|
||||||
--env-file %E/coreos-home-server/%N/%N.env \
|
--env-file %E/coreos-home-server/%N/%N.env \
|
||||||
--volume %N-feeds:/etc/%N/conf.d:z,ro \
|
--volume %N-feeds:/etc/%N/conf.d:z,ro \
|
||||||
--volume %N:/var/lib/%N:z \
|
--volume %N:/var/lib/%N:z \
|
||||||
|
Loading…
Reference in New Issue
Block a user