mirror of
https://github.com/linuxserver/docker-overseerr.git
synced 2026-02-23 00:00:48 +08:00
post-build cleanup
This commit is contained in:
parent
529a520b96
commit
8db81bae5a
@ -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 && \
|
||||
|
||||
@ -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 && \
|
||||
|
||||
@ -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 && \
|
||||
|
||||
@ -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." }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user