Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

rebase to focal, update formatting, fix flag #13

Merged
merged 3 commits into from
Jun 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 25 additions & 25 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-ubuntu:bionic
FROM ghcr.io/linuxserver/baseimage-ubuntu:focal

# set version label
ARG BUILD_DATE
Expand All @@ -11,30 +11,30 @@ LABEL maintainer="aptalca"
ENV HOME="/config"

RUN \
apt-get update && \
apt-get install -y \
jq \
libicu60 \
libssl1.0 \
unzip && \
echo "**** install embystat ****" && \
mkdir -p \
/opt/embystat && \
if [ -z ${EMBYSTAT_RELEASE+x} ]; then \
EMBYSTAT_RELEASE=$(curl -sX GET "https://api.github.com/repos/mregni/EmbyStat/releases" \
| jq -r 'first(.[] | .tag_name)'); \
fi && \
curl -o \
/tmp/embystat.zip -L \
"https://github.com/mregni/EmbyStat/releases/download/${EMBYSTAT_RELEASE}/EmbyStat-ubuntu-x64-v${EMBYSTAT_RELEASE}.zip" && \
unzip /tmp/embystat.zip -d \
/opt/embystat/ 2> /dev/null || true && \
chmod +x /opt/embystat/EmbyStat && \
echo "**** clean up ****" && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
apt-get update && \
apt-get install -y \
jq \
libicu66 \
libssl1.0 \
unzip && \
echo "**** install embystat ****" && \
mkdir -p \
/opt/embystat && \
if [ -z ${EMBYSTAT_RELEASE+x} ]; then \
EMBYSTAT_RELEASE=$(curl -sX GET "https://api.github.com/repos/mregni/EmbyStat/releases" \
| jq -r 'first(.[] | .tag_name)'); \
fi && \
curl -o \
/tmp/embystat.zip -L \
"https://github.com/mregni/EmbyStat/releases/download/${EMBYSTAT_RELEASE}/EmbyStat-ubuntu-x64-v${EMBYSTAT_RELEASE}.zip" && \
unzip /tmp/embystat.zip -d \
/opt/embystat/ 2> /dev/null || true && \
chmod +x /opt/embystat/EmbyStat && \
echo "**** clean up ****" && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*

# add local files
COPY /root /
Expand Down
50 changes: 25 additions & 25 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-bionic
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm64v8-focal

# set version label
ARG BUILD_DATE
Expand All @@ -11,30 +11,30 @@ LABEL maintainer="aptalca"
ENV HOME="/config"

RUN \
apt-get update && \
apt-get install -y \
jq \
libicu60 \
libssl1.0 \
unzip && \
echo "**** install embystat ****" && \
mkdir -p \
/opt/embystat && \
if [ -z ${EMBYSTAT_RELEASE+x} ]; then \
EMBYSTAT_RELEASE=$(curl -sX GET "https://api.github.com/repos/mregni/EmbyStat/releases" \
| jq -r 'first(.[] | .tag_name)'); \
fi && \
curl -o \
/tmp/embystat.zip -L \
"https://github.com/mregni/EmbyStat/releases/download/${EMBYSTAT_RELEASE}/EmbyStat-linux-arm-x64-v${EMBYSTAT_RELEASE}.zip" && \
unzip /tmp/embystat.zip -d \
/opt/embystat/ 2> /dev/null || true && \
chmod +x /opt/embystat/EmbyStat && \
echo "**** clean up ****" && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
apt-get update && \
apt-get install -y \
jq \
libicu66 \
libssl1.0 \
unzip && \
echo "**** install embystat ****" && \
mkdir -p \
/opt/embystat && \
if [ -z ${EMBYSTAT_RELEASE+x} ]; then \
EMBYSTAT_RELEASE=$(curl -sX GET "https://api.github.com/repos/mregni/EmbyStat/releases" \
| jq -r 'first(.[] | .tag_name)'); \
fi && \
curl -o \
/tmp/embystat.zip -L \
"https://github.com/mregni/EmbyStat/releases/download/${EMBYSTAT_RELEASE}/EmbyStat-linux-arm-x64-v${EMBYSTAT_RELEASE}.zip" && \
unzip /tmp/embystat.zip -d \
/opt/embystat/ 2> /dev/null || true && \
chmod +x /opt/embystat/EmbyStat && \
echo "**** clean up ****" && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*

# add local files
COPY /root /
Expand Down
50 changes: 25 additions & 25 deletions Dockerfile.armhf
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm32v7-bionic
FROM ghcr.io/linuxserver/baseimage-ubuntu:arm32v7-focal

# set version label
ARG BUILD_DATE
Expand All @@ -11,30 +11,30 @@ LABEL maintainer="aptalca"
ENV HOME="/config"

RUN \
apt-get update && \
apt-get install -y \
jq \
libicu60 \
libssl1.0 \
unzip && \
echo "**** install embystat ****" && \
mkdir -p \
/opt/embystat && \
if [ -z ${EMBYSTAT_RELEASE+x} ]; then \
EMBYSTAT_RELEASE=$(curl -sX GET "https://api.github.com/repos/mregni/EmbyStat/releases" \
| jq -r 'first(.[] | .tag_name)'); \
fi && \
curl -o \
/tmp/embystat.zip -L \
"https://github.com/mregni/EmbyStat/releases/download/${EMBYSTAT_RELEASE}/EmbyStat-linux-arm-v${EMBYSTAT_RELEASE}.zip" && \
unzip /tmp/embystat.zip -d \
/opt/embystat/ 2> /dev/null || true && \
chmod +x /opt/embystat/EmbyStat && \
echo "**** clean up ****" && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*
apt-get update && \
apt-get install -y \
jq \
libicu66 \
libssl1.0 \
unzip && \
echo "**** install embystat ****" && \
mkdir -p \
/opt/embystat && \
if [ -z ${EMBYSTAT_RELEASE+x} ]; then \
EMBYSTAT_RELEASE=$(curl -sX GET "https://api.github.com/repos/mregni/EmbyStat/releases" \
| jq -r 'first(.[] | .tag_name)'); \
fi && \
curl -o \
/tmp/embystat.zip -L \
"https://github.com/mregni/EmbyStat/releases/download/${EMBYSTAT_RELEASE}/EmbyStat-linux-arm-v${EMBYSTAT_RELEASE}.zip" && \
unzip /tmp/embystat.zip -d \
/opt/embystat/ 2> /dev/null || true && \
chmod +x /opt/embystat/EmbyStat && \
echo "**** clean up ****" && \
rm -rf \
/tmp/* \
/var/lib/apt/lists/* \
/var/tmp/*

# add local files
COPY /root /
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64

## Versions

* **11.06.22:** - Rebase to focal, update disable updates flag.
* **08.04.20:** - Structural changes for beta18.
* **04.12.19:** - Disable in app updates.
* **12.11.19:** - Multi-arch builds.
Expand Down
1 change: 1 addition & 0 deletions readme-vars.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ app_setup_block: |

# changelog
changelogs:
- { date: "11.06.22:", desc: "Rebase to focal, update disable updates flag." }
- { date: "08.04.20:", desc: "Structural changes for beta18." }
- { date: "04.12.19:", desc: "Disable in app updates." }
- { date: "12.11.19:", desc: "Multi-arch builds." }
Expand Down
4 changes: 2 additions & 2 deletions root/etc/cont-init.d/30-config
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ mkdir -p /config/logs

# permissions
chown -R abc:abc \
/opt/embystat \
/config
/opt/embystat \
/config
7 changes: 5 additions & 2 deletions root/etc/services.d/embystat/run
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
cd /opt/embystat || exit

exec \
s6-setuidgid abc /opt/embystat/EmbyStat --no-updates \
--data-dir /config --log-dir /config/logs --config-dir /config
s6-setuidgid abc /opt/embystat/EmbyStat \
--data-dir /config \
--log-dir /config/logs \
--config-dir /config \
--enable-updates false