Closed hidsh closed 1 year ago
@hasumikin rake setup
was removed on
https://github.com/picoruby/prk_firmware/commit/ce4159922fb67fa1a9ec4775e85ab24c8d63211f#diff-ee98e028c59b193d58fde56ab4daf54d43c486ae674e63d50ddf300b07943e0f .
Is it mistake?
@hidsh I fixed some points. Please try again when you have time
@hasumikin Thank you for your help!
I've confirmed that the docker build
works as I expected on latest master branch.
Thanks.
~/prk/prk_firmware ❯❯❯ docker build -t test:1.0 -f Dockerfile . master
[+] Building 375.8s (14/14) FINISHED
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 658B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/manjarolinux/base:latest 4.6s
=> [auth] manjarolinux/base:pull token for registry-1.docker.io 0.0s
=> [1/8] FROM docker.io/manjarolinux/base@sha256:df27e66e0e5ab863edfb11 18.8s
=> => resolve docker.io/manjarolinux/base@sha256:df27e66e0e5ab863edfb111 0.0s
=> => sha256:df27e66e0e5ab863edfb1111d0127fe144a69f679705feb 741B / 741B 0.0s
=> => sha256:6e0d8461fd86e7e5de31d46309bb35a7ffc792f01e7359e 529B / 529B 0.0s
=> => sha256:c91e1883fd1767151b605f8b0a722f1bb33f5634d5a8a22 901B / 901B 0.0s
=> => sha256:f5705861d2e2a80fbd7eade264a09609947efeb 260.06MB / 260.06MB 9.6s
=> => extracting sha256:f5705861d2e2a80fbd7eade264a09609947efeb4f1a8f94f 8.6s
=> [internal] load build context 0.1s
=> => transferring context: 3.99MB 0.1s
=> [2/8] RUN pacman -Sy --noconfirm cmake arm-none-eabi-gcc arm- 139.0s
=> [3/8] RUN git clone https://github.com/raspberrypi/pico-sdk.git -b 1. 4.8s
=> [4/8] RUN cd /pico-sdk/lib && git submodule update --init ./ 31.4s
=> [5/8] WORKDIR /prk_firmware 0.0s
=> [6/8] COPY . . 0.1s
=> [7/8] RUN rake setup 164.9s
=> [8/8] RUN git config --global --add safe.directory /prk_firmware 0.5s
=> exporting to image 11.5s
=> => exporting layers 11.5s
=> => writing image sha256:0e3d4a9fa27fa0c93f031320b10584e984d627ea3f1ba 0.0s
=> => naming to docker.io/library/test:1.0 0.0s
⏰377.36s total
~/prk/prk_firmware ❯❯❯
Hello PRK,
I am interested in this next generation keyboard firmware!
So I've tried the Dockerfile in 0.9.20, but it failed
docker build
. It seems to be a problem related torake setup
according the log.I would appreciate it if you could fix this error.
Thank you.