Skip to content
Snippets Groups Projects
Unverified Commit 1f719819 authored by Gabriel-Ladzaretti's avatar Gabriel-Ladzaretti Committed by GitHub
Browse files

fix(docker-image): ensure base & cache dir at build time (#32594)

parent 743fed0e
No related branches found
No related tags found
No related merge requests found
// Increment this whenever there could be incompatibilities between old and new cache structure
import upath from 'upath'; import upath from 'upath';
// Increment this whenever there could be incompatibilities between old and new cache structure
export const CACHE_REVISION = 13; export const CACHE_REVISION = 13;
export function getLocalCacheFileName( export function getLocalCacheFileName(
......
...@@ -95,6 +95,10 @@ COPY --link --from=build --chown=root:root /usr/local/renovate/ /usr/local/renov ...@@ -95,6 +95,10 @@ COPY --link --from=build --chown=root:root /usr/local/renovate/ /usr/local/renov
# make our node binary available as last in path # make our node binary available as last in path
RUN ln -sf /usr/local/renovate/node /bin/node RUN ln -sf /usr/local/renovate/node /bin/node
# ensure default base and cache directories exist.
RUN mkdir -p /tmp/renovate/cache && \
chmod -R 775 /tmp/renovate
# test # test
RUN set -ex; \ RUN set -ex; \
renovate --version; \ renovate --version; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment