diff --git a/lib/util/cache/repository/common.ts b/lib/util/cache/repository/common.ts index 2108a57e66a47972c95fbd166799028b88fdb656..a7fad1e4e2841176c4c17f18936df1918fc382bc 100644 --- a/lib/util/cache/repository/common.ts +++ b/lib/util/cache/repository/common.ts @@ -1,6 +1,6 @@ -// Increment this whenever there could be incompatibilities between old and new cache structure import upath from 'upath'; +// Increment this whenever there could be incompatibilities between old and new cache structure export const CACHE_REVISION = 13; export function getLocalCacheFileName( diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile index d39dd5a2ce7f6180f1794dd017c48121656e08de..a41e47531dc987b1466d7a9fb129c62064ee4163 100644 --- a/tools/docker/Dockerfile +++ b/tools/docker/Dockerfile @@ -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 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 RUN set -ex; \ renovate --version; \