Verification
Introduce the issue
I just set up Docker v4.25.0
I cloned the infinitime repo and also update the submodules.
Upon trying to build the docker image, I ran into the following issue, which I can't really resolve as it's the first time for me to work with docker.
[+] Building 1.7s (13/15) docker:default
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 1.36kB 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:22.04 1.1s
=> [auth] library/ubuntu:pull token for registry-1.docker.io 0.0s
=> [ 1/10] FROM docker.io/library/ubuntu:22.04@sha256:2b7412e6465c3c7fc5bb21d3e6f1917c167358449fecac8176c6e496e5c1f05f 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 30B 0.0s
=> CACHED [ 2/10] RUN apt-get update -qq && apt-get install -y bash build-essential cmake git make python3 0.0s
=> CACHED [ 3/10] RUN pip3 install adafruit-nrfutil 0.0s
=> CACHED [ 4/10] RUN pip3 install -Iv cryptography==3.3 0.0s
=> CACHED [ 5/10] RUN pip3 install cbor 0.0s
=> CACHED [ 6/10] RUN npm i lv_font_conv@1.5.2 -g 0.0s
=> CACHED [ 7/10] COPY build.sh /opt/ 0.0s
=> ERROR [ 8/10] RUN bash -c "source /opt/build.sh; GetGcc;" 0.4s
------
> [ 8/10] RUN bash -c "source /opt/build.sh; GetGcc;":
: invalid option.sh: line 5: set: -
0.348 set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
: invalid option.sh: line 6: set: -
0.348 set: usage: set [-abefhkmnptuvxBCHP] [-o option-name] [--] [arg ...]
0.348 /opt/build.sh: line 7: $'\r': command not found
0.348 /opt/build.sh: line 13: $'\r': command not found
0.349 /opt/build.sh: line 17: $'\r': command not found
0.350 /opt/build.sh: line 21: $'\r': command not found
0.352 /opt/build.sh: line 24: $'\r': command not found
0.352 /opt/build.sh: line 26: $'\r': command not found
0.353 /opt/build.sh: line 27: syntax error near unexpected token `$'{\r''
'.353 /opt/build.sh: line 27: `main() {
0.353 bash: line 1: GetGcc: command not found
------
Dockerfile:48
--------------------
46 | # Lets get each in a separate docker layer for better downloads
47 | # GCC
48 | >>> RUN bash -c "source /opt/build.sh; GetGcc;"
49 | # NrfSdk
50 | RUN bash -c "source /opt/build.sh; GetNrfSdk;"
--------------------
ERROR: failed to solve: process "/bin/sh -c bash -c \"source /opt/build.sh; GetGcc;\"" did not complete successfully: exit code: 127
If anyone could give me a hint what might not work I'd be very happy.
Preferred solution
No response
Version
v1.13.0
Verification
Introduce the issue
I just set up Docker v4.25.0
I cloned the infinitime repo and also update the submodules.
Upon trying to build the docker image, I ran into the following issue, which I can't really resolve as it's the first time for me to work with docker.
If anyone could give me a hint what might not work I'd be very happy.
Preferred solution
No response
Version
v1.13.0