chore: remove comments about why BuildKit is being used to parse apps.json

This commit is contained in:
RocketQuack 2026-04-15 13:52:31 +02:00
parent 8892908f5d
commit 4e5f84fa29
2 changed files with 0 additions and 8 deletions

View file

@ -113,10 +113,6 @@ RUN apt-get update \
libbz2-dev \
&& rm -rf /var/lib/apt/lists/*
# apps.json is passed as a BuildKit secret so that private repo tokens
# are never baked into any image layer. The secret is mounted only for
# this RUN step and is not present in the final image.
USER frappe
ARG FRAPPE_BRANCH=version-16

View file

@ -5,10 +5,6 @@ FROM frappe/build:${FRAPPE_BRANCH} AS builder
ARG FRAPPE_BRANCH=version-16
ARG FRAPPE_PATH=https://github.com/frappe/frappe
# apps.json is passed as a BuildKit secret so that private repo tokens
# are never baked into any image layer. The secret is mounted only for
# this RUN step and is not present in the final image.
USER frappe
RUN --mount=type=secret,id=apps_json,target=/opt/frappe/apps.json,uid=1000,gid=1000 \