You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[7/8] RUN bash -x "/home/tendenci/install.sh":
0.392 + $'\r'
0.393 /home/tendenci/install.sh: line 2: $'\r': command not found
0.394 ++ which pip3
0.395 + PIP=$'/usr/bin/pip3\r'
0.396 ++ which python3
0.398 + PYTHON=$'/usr/bin/python3\r'
0.398 + $'\r'
0.400 /home/tendenci/install.sh: line 6: $'\r': command not found
0.400 /home/tendenci/install.sh: line 8: syntax error near unexpected token $'\r'' '.400 /home/tendenci/install.sh: line 8: function check_dirs()
When trying to deploy Tendenci in a container, the following error happens - what may be the cause ?
PS C:\Users\Dell\tendenci12-dockerized> docker build --no-cache=true --rm -t tendenci .
[+] Building 151.8s (12/13) docker:desktop-linux
=> [internal] load build definition from Dockerfile 0.1s
=> => transferring dockerfile: 1.57kB 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:22.04 4.4s
=> [auth] library/ubuntu:pull token for registry-1.docker.io 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [1/8] FROM docker.io/library/ubuntu:22.04@sha256:58b87898e82351c6cf9cf5b9f3c20257bb9e2dcf33af051e12ce532d7f94 3.9s
=> => resolve docker.io/library/ubuntu:22.04@sha256:58b87898e82351c6cf9cf5b9f3c20257bb9e2dcf33af051e12ce532d7f94 0.0s
=> => sha256:6414378b647780fee8fd903ddb9541d134a1947ce092d08bdeb23a54cb3684ac 29.54MB / 29.54MB 3.1s
=> => extracting sha256:6414378b647780fee8fd903ddb9541d134a1947ce092d08bdeb23a54cb3684ac 0.7s
=> [internal] load build context 0.1s
=> => transferring context: 6.08kB 0.0s
=> [2/8] RUN mkdir "/home/tendenci" "/var/log/mysite" "/home/tendenci/install" 0.7s
=> [3/8] RUN DEBIAN_FRONTEND=noninteractive apt-get update -y && DEBIAN_FRONTEND=noninteractive apt-get 131.2s
=> [4/8] RUN DEBIAN_FRONTEND=noninteractive apt-get install -y locales && locale-gen en_US.UTF-8 10.7s
=> [5/8] COPY assets/build/ /home/tendenci 0.1s
=> [6/8] COPY assets/runtime/run.sh /runtime/run.sh 0.1s
=> ERROR [7/8] RUN bash -x "/home/tendenci/install.sh" 0.4s
Dockerfile:32
30 | COPY assets/runtime/run.sh /runtime/run.sh
31 |
32 | >>> RUN bash -x "$TENDENCI_HOME/install.sh"
33 |
34 | VOLUME "$TENDENCI_PROJECT_ROOT" "$TENDENCI_LOG_DIR"
ERROR: failed to solve: process "/bin/sh -c bash -x "$TENDENCI_HOME/install.sh"" did not complete successfully: exit code: 2
The text was updated successfully, but these errors were encountered: