mirror of
https://github.com/frappe/frappe_docker.git
synced 2026-06-21 15:25:09 +00:00
chore: remove comments about why BuildKit is being used to parse apps.json
This commit is contained in:
parent
8892908f5d
commit
4e5f84fa29
2 changed files with 0 additions and 8 deletions
|
|
@ -113,10 +113,6 @@ RUN apt-get update \
|
||||||
libbz2-dev \
|
libbz2-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& 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
|
USER frappe
|
||||||
|
|
||||||
ARG FRAPPE_BRANCH=version-16
|
ARG FRAPPE_BRANCH=version-16
|
||||||
|
|
|
||||||
|
|
@ -5,10 +5,6 @@ FROM frappe/build:${FRAPPE_BRANCH} AS builder
|
||||||
ARG FRAPPE_BRANCH=version-16
|
ARG FRAPPE_BRANCH=version-16
|
||||||
ARG FRAPPE_PATH=https://github.com/frappe/frappe
|
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
|
USER frappe
|
||||||
|
|
||||||
RUN --mount=type=secret,id=apps_json,target=/opt/frappe/apps.json,uid=1000,gid=1000 \
|
RUN --mount=type=secret,id=apps_json,target=/opt/frappe/apps.json,uid=1000,gid=1000 \
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue