update env vars for bin to run properly and use embies baked in ca cert

This commit is contained in:
thelamer
2019-06-03 14:34:07 -07:00
parent 17bc48734b
commit a8f15fc9af
4 changed files with 20 additions and 25 deletions

View File

@@ -15,7 +15,7 @@ RUN \
mkdir -p \
/app/emby && \
if [ -z ${EMBY_RELEASE+x} ]; then \
EMBY_RELEASE=$(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest \
EMBY_RELEASE=$(curl -s https://api.github.com/repos/MediaBrowser/Emby.Releases/releases/latest \
| jq -r '. | .tag_name'); \
fi && \
curl -o \
@@ -29,7 +29,8 @@ RUN \
/tmp/opt/emby-server/system/* \
/tmp/opt/emby-server/lib/samba/* \
/tmp/opt/emby-server/lib/* \
/tmp/opt/emby-server/bin/ff*
/tmp/opt/emby-server/bin/ff* \
/tmp/opt/emby-server/etc
# runtime stage
FROM lsiobase/ubuntu:arm32v7-bionic
@@ -47,12 +48,6 @@ ENV NVIDIA_DRIVER_CAPABILITIES="compute,video,utility"
COPY --from=buildstage /app/emby /app/emby
COPY root/ /
# lib setup
RUN \
echo "**** add lib path ****" && \
echo "/app/emby" > /etc/ld.so.conf.d/emby.conf && \
ldconfig
# ports and volumes
EXPOSE 8096 8920
VOLUME /config /transcode