From 5128c7828cf51685f353ae947a86317ebc24a40f Mon Sep 17 00:00:00 2001 From: Blair V Date: Mon, 20 Sep 2021 09:59:12 +0300 Subject: [PATCH] chore: clean old dockerfile and add docs for clearing cache --- README.md | 5 ++++- apps/data-seeding/docker/Dockerfile_ci | 24 ------------------------ 2 files changed, 4 insertions(+), 25 deletions(-) delete mode 100644 apps/data-seeding/docker/Dockerfile_ci diff --git a/README.md b/README.md index b6fae088..9e0d62d0 100644 --- a/README.md +++ b/README.md @@ -34,4 +34,7 @@ rebuild an images docker-compose up --build ``` - +to delete the buildkit cache +``` +docker builder prune --filter type=exec.cachemount +``` diff --git a/apps/data-seeding/docker/Dockerfile_ci b/apps/data-seeding/docker/Dockerfile_ci deleted file mode 100644 index 8169b4db..00000000 --- a/apps/data-seeding/docker/Dockerfile_ci +++ /dev/null @@ -1,24 +0,0 @@ -# syntax = docker/dockerfile:1.2 -FROM registry.gitlab.com/grassrootseconomics/cic-base-images:python-3.8.6-dev-5ab8bf45 - -WORKDIR /root - -RUN mkdir -vp /usr/local/etc/cic - -COPY package.json \ - package-lock.json \ - . - -RUN npm install - -COPY requirements.txt . - -ARG EXTRA_INDEX_URL="https://pip.grassrootseconomics.net:8433" -ARG GITLAB_PYTHON_REGISTRY="https://gitlab.com/api/v4/projects/27624814/packages/pypi/simple" -RUN pip install \ - --extra-index-url $GITLAB_PYTHON_REGISTRY \ - --extra-index-url $EXTRA_INDEX_URL -r requirements.txt - -COPY . . - -ENTRYPOINT [ ]