Galzai / MK32

Keyboard firmware for ESP32 microcontrollers
676 stars 118 forks source link

Docker build is not working #35

Closed help-14 closed 2 years ago

help-14 commented 2 years ago

Hi, I'm trying to use docker build as in Readme, but got this error:

[+] Building 1.7s (16/17)
 => [internal] load build definition from Dockerfile                                                                         0.0s
 => => transferring dockerfile: 38B                                                                                          0.0s
 => [internal] load .dockerignore                                                                                            0.0s
 => => transferring context: 2B                                                                                              0.0s
 => [internal] load metadata for docker.io/espressif/idf:latest                                                              1.1s
 => [internal] load build context                                                                                            0.3s
 => => transferring context: 8.74kB                                                                                          0.3s
 => [ 1/13] FROM docker.io/espressif/idf:latest@sha256:4b6e9d9041e34ccab95d103ad2867a5df1ed5f7b2aa33dfd709fd835eae920ed      0.0s
 => CACHED [ 2/13] RUN mkdir /home/workspace                                                                                 0.0s
 => CACHED [ 3/13] RUN mkdir /home/workspace/cmakebuild                                                                      0.0s
 => CACHED [ 4/13] COPY components /home/workspace/components                                                                0.0s
 => CACHED [ 5/13] COPY main /home/workspace/main                                                                            0.0s
 => CACHED [ 6/13] COPY CMakeLists.txt /home/workspace/                                                                      0.0s
 => CACHED [ 7/13] COPY partitions.csv /home/workspace/                                                                      0.0s
 => CACHED [ 8/13] COPY README.md /home/workspace/                                                                           0.0s
 => CACHED [ 9/13] COPY sdkconfig.defaults /home/workspace/                                                                  0.0s
 => CACHED [10/13] WORKDIR /home/workspace/cmakebuild                                                                        0.0s
 => CACHED [11/13] RUN /bin/bash -c "source /opt/esp/idf/export.sh"                                                          0.0s
 => ERROR [12/13] RUN cmake /home/workspace/                                                                                 0.3s
------
 > [12/13] RUN cmake /home/workspace/:
#16 0.244 /bin/sh: 1: cmake: Permission denied
------
executor failed running [/bin/sh -c cmake /home/workspace/]: exit code: 127