FROM base AS builder
-RUN --mount=type=cache,target=/var/cache/apk \
- apk add --no-cache --virtual .build-deps \
+RUN apk add --no-cache --virtual .build-deps \
build-base gcc \
musl-dev \
libffi-dev \
COPY configs/vcluster.yaml /etc/vcluster.yaml
ARG IM_GERRIT_REFSPEC=master
-RUN --mount=type=cache,target=/root/.cache/pip \
- git clone --filter=blob:none --tags https://osm.etsi.org/gerrit/osm/IM.git /tmp/osm-im && \
+RUN git clone --filter=blob:none --tags https://osm.etsi.org/gerrit/osm/IM.git /tmp/osm-im && \
cd /tmp/osm-im && \
git fetch origin ${IM_GERRIT_REFSPEC} && \
git checkout FETCH_HEAD && \
ARG CLIENT_GERRIT_REFSPEC=master
-RUN --mount=type=cache,target=/root/.cache/pip \
- git clone --filter=blob:none --tags https://osm.etsi.org/gerrit/osm/osmclient.git /tmp/osmclient && \
+RUN git clone --filter=blob:none --tags https://osm.etsi.org/gerrit/osm/osmclient.git /tmp/osmclient && \
cd /tmp/osmclient && \
git fetch origin ${CLIENT_GERRIT_REFSPEC} && \
git checkout FETCH_HEAD && \