Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
guinanlin committed Sep 25, 2023
1 parent e8aa76e commit 952021e
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions erpnext14/Dockerfile-bubbles
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ LABEL author=guinan.lin
# 设定参数
ENV MARIADB_ROOT_PASSWORD=Pass1234
ENV ADMIN_PASSWORD=admin
ENV SITE_ANME=site1.local

# ENV GIT_AUTH_TOKEN= $GIT_AUTH_TOKEN

# mount授权token
# RUN --mount=type=secret,id=GIT_AUTH_TOKEN \
# export GIT_AUTH_TOKEN=$(cat /run/secrets/GIT_AUTH_TOKEN)

ENV GIT_AUTH_TOKEN=${GIT_AUTH_TOKEN}
ENV ERPNEXTCN_PATH=https://guinanlin:${GIT_AUTH_TOKEN}@github.com/guinanlin/erpnextcn.git
# ENV GIT_AUTH_TOKEN=${GIT_AUTH_TOKEN}


# cat /run/secrets/GIT_AUTH_TOKEN

Expand All @@ -27,6 +27,9 @@ RUN /bin/bash -c "chmod -R 777 /installdata/* && /installdata/install-erpnext14-
USER frappe
WORKDIR /home/frappe/frappe-bench

ENV ERPNEXTCN_PATH=https://guinanlin:${GIT_AUTH_TOKEN}@github.com/guinanlin/erpnextcn.git
ENV SITE_ANME=site1.local

# 安装中国本地化软件
RUN bench get-app ${ERPNEXTCN_PATH}
RUN bench --site ${SITE_ANME} install-app erpnextcn
Expand Down

0 comments on commit 952021e

Please sign in to comment.