post-build cleanup

This commit is contained in:
TheCatLady 2021-10-10 22:20:55 -04:00
parent 529a520b96
commit 8db81bae5a
4 changed files with 13 additions and 0 deletions

View File

@ -41,9 +41,13 @@ RUN \
yarn build && \
yarn install --production --ignore-scripts --prefer-offline && \
yarn cache clean && \
rm -rf \
/app/overseerr/src \
/app/overseerr/server && \
echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json && \
rm -rf /app/overseerr/config && \
ln -s /config /app/overseerr/config && \
touch /config/DOCKER && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \

View File

@ -41,9 +41,13 @@ RUN \
yarn build && \
yarn install --production --ignore-scripts --prefer-offline && \
yarn cache clean && \
rm -rf \
/app/overseerr/src \
/app/overseerr/server && \
echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json && \
rm -rf /app/overseerr/config && \
ln -s /config /app/overseerr/config && \
touch /config/DOCKER && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \

View File

@ -41,9 +41,13 @@ RUN \
yarn build && \
yarn install --production --ignore-scripts --prefer-offline && \
yarn cache clean && \
rm -rf \
/app/overseerr/src \
/app/overseerr/server && \
echo "{\"commitTag\": \"${COMMIT_TAG}\"}" > committag.json && \
rm -rf /app/overseerr/config && \
ln -s /config /app/overseerr/config && \
touch /config/DOCKER && \
echo "**** cleanup ****" && \
apk del --purge \
build-dependencies && \

View File

@ -47,5 +47,6 @@ app_setup_block: |
# changelog
changelogs:
- { date: "10.10.21:", desc: "Add additional post-build cleanup." }
- { date: "17.06.21:", desc: "Rebase to alpine 3.14." }
- { date: "05.04.21:", desc: "Initial Release." }