rebase to 3.14, update formatting, increase js mem

This commit is contained in:
aptalca 2021-09-19 11:06:18 -04:00
parent 053af7fa88
commit b8f0efd5cc
7 changed files with 115 additions and 116 deletions

View File

@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-alpine:3.13
FROM ghcr.io/linuxserver/baseimage-alpine:3.14
# set version label
ARG BUILD_DATE
@ -11,43 +11,42 @@ LABEL maintainer="nemchik"
ENV HOME="/config"
RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
curl \
g++ \
make \
python3 && \
echo "**** symlink python3 for compatibility ****" && \
ln -s /usr/bin/python3 /usr/bin/python && \
echo "**** install runtime packages ****" && \
apk add --no-cache \
yarn && \
if [ -z ${OVERSEERR_VERSION+x} ]; then \
OVERSEERR_VERSION=$(curl -sX GET "https://api.github.com/repos/sct/overseerr/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
export COMMIT_TAG="${OVERSEERR_VERSION}" && \
curl -o \
/tmp/overseerr.tar.gz -L \
"https://github.com/sct/overseerr/archive/${OVERSEERR_VERSION}.tar.gz" && \
mkdir -p /app/overseerr && \
tar xzf \
/tmp/overseerr.tar.gz -C \
/app/overseerr/ --strip-components=1 && \
cd /app/overseerr && \
NODE_OPTIONS=--max_old_space_size=1024 && \
export NODE_OPTIONS && \
yarn --frozen-lockfile --network-timeout 1000000 && \
yarn build && \
yarn install --production --ignore-scripts --prefer-offline && \
yarn cache clean && \
echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json && \
rm -rf /app/overseerr/config && \
ln -s /config /app/overseerr/config && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
rm -rf \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
curl \
g++ \
make \
python3 && \
echo "**** symlink python3 for compatibility ****" && \
ln -s /usr/bin/python3 /usr/bin/python && \
echo "**** install runtime packages ****" && \
apk add --no-cache \
yarn && \
if [ -z ${OVERSEERR_VERSION+x} ]; then \
OVERSEERR_VERSION=$(curl -sX GET "https://api.github.com/repos/sct/overseerr/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
export COMMIT_TAG="${OVERSEERR_VERSION}" && \
curl -o \
/tmp/overseerr.tar.gz -L \
"https://github.com/sct/overseerr/archive/${OVERSEERR_VERSION}.tar.gz" && \
mkdir -p /app/overseerr && \
tar xzf \
/tmp/overseerr.tar.gz -C \
/app/overseerr/ --strip-components=1 && \
cd /app/overseerr && \
export NODE_OPTIONS=--max_old_space_size=2048 && \
yarn --frozen-lockfile --network-timeout 1000000 && \
yarn build && \
yarn install --production --ignore-scripts --prefer-offline && \
yarn cache clean && \
echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json && \
rm -rf /app/overseerr/config && \
ln -s /config /app/overseerr/config && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
rm -rf \
/root/.cache \
/tmp/*

View File

@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.13
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.14
# set version label
ARG BUILD_DATE
@ -11,43 +11,42 @@ LABEL maintainer="nemchik"
ENV HOME="/config"
RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
curl \
g++ \
make \
python3 && \
echo "**** symlink python3 for compatibility ****" && \
ln -s /usr/bin/python3 /usr/bin/python && \
echo "**** install runtime packages ****" && \
apk add --no-cache \
yarn && \
if [ -z ${OVERSEERR_VERSION+x} ]; then \
OVERSEERR_VERSION=$(curl -sX GET "https://api.github.com/repos/sct/overseerr/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
export COMMIT_TAG="${OVERSEERR_VERSION}" && \
curl -o \
/tmp/overseerr.tar.gz -L \
"https://github.com/sct/overseerr/archive/${OVERSEERR_VERSION}.tar.gz" && \
mkdir -p /app/overseerr && \
tar xzf \
/tmp/overseerr.tar.gz -C \
/app/overseerr/ --strip-components=1 && \
cd /app/overseerr && \
NODE_OPTIONS=--max_old_space_size=1024 && \
export NODE_OPTIONS && \
yarn --frozen-lockfile --network-timeout 1000000 && \
yarn build && \
yarn install --production --ignore-scripts --prefer-offline && \
yarn cache clean && \
echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json && \
rm -rf /app/overseerr/config && \
ln -s /config /app/overseerr/config && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
rm -rf \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
curl \
g++ \
make \
python3 && \
echo "**** symlink python3 for compatibility ****" && \
ln -s /usr/bin/python3 /usr/bin/python && \
echo "**** install runtime packages ****" && \
apk add --no-cache \
yarn && \
if [ -z ${OVERSEERR_VERSION+x} ]; then \
OVERSEERR_VERSION=$(curl -sX GET "https://api.github.com/repos/sct/overseerr/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
export COMMIT_TAG="${OVERSEERR_VERSION}" && \
curl -o \
/tmp/overseerr.tar.gz -L \
"https://github.com/sct/overseerr/archive/${OVERSEERR_VERSION}.tar.gz" && \
mkdir -p /app/overseerr && \
tar xzf \
/tmp/overseerr.tar.gz -C \
/app/overseerr/ --strip-components=1 && \
cd /app/overseerr && \
export NODE_OPTIONS=--max_old_space_size=2048 && \
yarn --frozen-lockfile --network-timeout 1000000 && \
yarn build && \
yarn install --production --ignore-scripts --prefer-offline && \
yarn cache clean && \
echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json && \
rm -rf /app/overseerr/config && \
ln -s /config /app/overseerr/config && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
rm -rf \
/root/.cache \
/tmp/*

View File

@ -1,4 +1,4 @@
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.13
FROM ghcr.io/linuxserver/baseimage-alpine:arm32v7-3.14
# set version label
ARG BUILD_DATE
@ -11,43 +11,42 @@ LABEL maintainer="nemchik"
ENV HOME="/config"
RUN \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
curl \
g++ \
make \
python3 && \
echo "**** symlink python3 for compatibility ****" && \
ln -s /usr/bin/python3 /usr/bin/python && \
echo "**** install runtime packages ****" && \
apk add --no-cache \
yarn && \
if [ -z ${OVERSEERR_VERSION+x} ]; then \
OVERSEERR_VERSION=$(curl -sX GET "https://api.github.com/repos/sct/overseerr/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
export COMMIT_TAG="${OVERSEERR_VERSION}" && \
curl -o \
/tmp/overseerr.tar.gz -L \
"https://github.com/sct/overseerr/archive/${OVERSEERR_VERSION}.tar.gz" && \
mkdir -p /app/overseerr && \
tar xzf \
/tmp/overseerr.tar.gz -C \
/app/overseerr/ --strip-components=1 && \
cd /app/overseerr && \
NODE_OPTIONS=--max_old_space_size=1024 && \
export NODE_OPTIONS && \
yarn --frozen-lockfile --network-timeout 1000000 && \
yarn build && \
yarn install --production --ignore-scripts --prefer-offline && \
yarn cache clean && \
echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json && \
rm -rf /app/overseerr/config && \
ln -s /config /app/overseerr/config && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
rm -rf \
echo "**** install build packages ****" && \
apk add --no-cache --virtual=build-dependencies \
curl \
g++ \
make \
python3 && \
echo "**** symlink python3 for compatibility ****" && \
ln -s /usr/bin/python3 /usr/bin/python && \
echo "**** install runtime packages ****" && \
apk add --no-cache \
yarn && \
if [ -z ${OVERSEERR_VERSION+x} ]; then \
OVERSEERR_VERSION=$(curl -sX GET "https://api.github.com/repos/sct/overseerr/releases/latest" \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
export COMMIT_TAG="${OVERSEERR_VERSION}" && \
curl -o \
/tmp/overseerr.tar.gz -L \
"https://github.com/sct/overseerr/archive/${OVERSEERR_VERSION}.tar.gz" && \
mkdir -p /app/overseerr && \
tar xzf \
/tmp/overseerr.tar.gz -C \
/app/overseerr/ --strip-components=1 && \
cd /app/overseerr && \
export NODE_OPTIONS=--max_old_space_size=2048 && \
yarn --frozen-lockfile --network-timeout 1000000 && \
yarn build && \
yarn install --production --ignore-scripts --prefer-offline && \
yarn cache clean && \
echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json && \
rm -rf /app/overseerr/config && \
ln -s /config /app/overseerr/config && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \
rm -rf \
/root/.cache \
/tmp/*

View File

@ -228,4 +228,5 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
## Versions
* **19.09.21:** - Rebase to alpine 3.14. Update code formatting. Increase js mem limit.
* **05.04.21:** - Initial Release.

View File

@ -47,4 +47,5 @@ app_setup_block: |
# changelog
changelogs:
- { date: "19.09.21:", desc: "Rebase to alpine 3.14. Update code formatting. Increase js mem limit." }
- { date: "05.04.21:", desc: "Initial Release." }

View File

@ -2,4 +2,4 @@
# permissions
chown -R abc:abc \
/config
/config

View File

@ -5,4 +5,4 @@ cd /app/overseerr || exit
export CONFIG_DIRECTORY="/config"
exec \
s6-setuidgid abc /usr/bin/yarn start
s6-setuidgid abc /usr/bin/yarn start