Skip to content
Snippets Groups Projects
Commit ac306de8 authored by Ujwal Kundur's avatar Ujwal Kundur
Browse files

Test fix 6.4

Disable cache mounts for builder apt commands.
parent 94c0647e
No related branches found
No related tags found
1 merge request!306OneAPI Integration Testing
...@@ -15,10 +15,11 @@ ARG INTERNAL_TAG="unstable-mr-290-306" ...@@ -15,10 +15,11 @@ ARG INTERNAL_TAG="unstable-mr-290-306"
FROM ${DOCKER_REGISTRY}debian_stable_base:${INTERNAL_TAG} as builder FROM ${DOCKER_REGISTRY}debian_stable_base:${INTERNAL_TAG} as builder
## Install some extra spack dependencies ## Install some extra spack dependencies
RUN --mount=type=cache,target=/var/cache/apt \ ## Do not use Cache mount as it conflicts with oneapi stage
RUN \
rm -f /etc/apt/apt.conf.d/docker-clean \ rm -f /etc/apt/apt.conf.d/docker-clean \
&& apt-get -yqq update \ && apt-get -yqq update \
&& apt-get -yqq install --no-install-recommends -o DPkg::Lock::Timeout=-1 \ && apt-get -yqq install --no-install-recommends \
python3 \ python3 \
python3-dev \ python3-dev \
python3-distutils \ python3-distutils \
...@@ -247,7 +248,6 @@ RUN --mount=type=cache,target=/var/cache/apt \ ...@@ -247,7 +248,6 @@ RUN --mount=type=cache,target=/var/cache/apt \
rm -f /etc/apt/apt.conf.d/docker-clean \ rm -f /etc/apt/apt.conf.d/docker-clean \
&& ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime \ && ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime \
&& echo "US/Eastern" > /etc/timezone \ && echo "US/Eastern" > /etc/timezone \
&& echo ps \
&& apt-get -yqq update \ && apt-get -yqq update \
&& apt-get -yqq upgrade \ && apt-get -yqq upgrade \
&& apt-get -yqq install --no-install-recommends \ && apt-get -yqq install --no-install-recommends \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment