@revant_one I am new to frappe_docker installation. Recently, I did setup docker registry to my server at registry.bhandari.shop then while building docker image from frappe_docker as mentioned here and Video Instruction.
export APPS_JSON_BASE64=$(base64 -w 0 ./development/apps.json)
docker build \
--build-arg=FRAPPE_PATH=https://github.com/frappe/frappe \
--build-arg=FRAPPE_BRANCH=version-15 \
--build-arg=PYTHON_VERSION=3.11.6 \
--build-arg=NODE_VERSION=18.20.2 \
--build-arg=APPS_JSON_BASE64=$APPS_JSON_BASE64 \
--tag=registry.bhandari.shop/tuna-frappe:1.0.1 \
--file=images/custom/Containerfile .
Got this error:
Getting frappe
$ git clone https://github.com/frappe/frappe --branch version-15 --depth 1 --origin upstream
Cloning into 'frappe'...
error: RPC failed; curl 92 HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
error: 4013 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
subprocess.CalledProcessError: Command 'git clone https://github.com/frappe/frappe --branch version-15 --depth 1 --origin upstream' returned non-zero exit status 128.
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.11/site-packages/bench/commands/make.py", line 75, in init
init(
File "/usr/local/lib/python3.11/site-packages/bench/utils/render.py", line 105, in wrapper_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/bench/utils/system.py", line 87, in init
get_app(
File "/usr/local/lib/python3.11/site-packages/bench/app.py", line 765, in get_app
app.get()
File "/usr/local/lib/python3.11/site-packages/bench/utils/render.py", line 126, in wrapper_fn
return fn(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/bench/app.py", line 204, in get
self.bench.run(
File "/usr/local/lib/python3.11/site-packages/bench/bench.py", line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/bench/utils/__init__.py", line 169, in exec_cmd
raise CommandFailedError(cmd) from subprocess.CalledProcessError(return_code, cmd)
bench.exceptions.CommandFailedError: git clone https://github.com/frappe/frappe --branch version-15 --depth 1 --origin upstream
ERROR: There was a problem while creating /home/frappe/frappe-bench
Do you want to rollback these changes? [y/N]: Aborted!
The command '/bin/sh -c export APP_INSTALL_ARGS="" && if [ -n "${APPS_JSON_BASE64}" ]; then export APP_INSTALL_ARGS="--apps_path=/opt/frappe/apps.json"; fi && bench init ${APP_INSTALL_ARGS} --frappe-branch=${FRAPPE_BRANCH} --frappe-path=${FRAPPE_PATH} --no-procfile --no-backups --skip-redis-config-generation --verbose /home/frappe/frappe-bench && cd /home/frappe/frappe-bench && echo "{}" > sites/common_site_config.json && find apps -mindepth 1 -path "*/.git" | xargs rm -fr' returned a non-zero code: 1
[ble: exit 1]