toltec-dev / toolchain

Set of Docker images for cross-compiling binaries targeting the reMarkable tablet.
MIT License
34 stars 12 forks source link

Adds golang toolchain support #11

Closed dps closed 3 years ago

dps commented 3 years ago

Tested by running scripts/build . and confirming that all docker images build ok, including new golang one. The error re no cached manifest is expected since this is new.

=> Building image 'ghcr.io/toltec-dev/golang:latest'
[+] Building 8.4s (8/8) FINISHED                                                                                                                                                                 
 => [internal] load build definition from Dockerfile                                                                                                                                        0.0s
 => => transferring dockerfile: 414B                                                                                                                                                        0.0s
 => [internal] load .dockerignore                                                                                                                                                           0.0s
 => => transferring context: 2B                                                                                                                                                             0.0s
 => [internal] load metadata for ghcr.io/toltec-dev/base:latest                                                                                                                             0.0s
 => ERROR importing cache manifest from ghcr.io/toltec-dev/golang:latest                                                                                                                    0.2s
 => CACHED [1/2] FROM ghcr.io/toltec-dev/base:latest                                                                                                                                        0.0s
 => [2/2] RUN cd /root     && curl --proto '=https' --tlsv1.2 -sSf https://dl.google.com/go/go1.16.2.linux-amd64.tar.gz     -o "go1.16.2.linux-amd64.tar.gz"     && tar -C /usr/local -xzf  5.2s
 => exporting to image                                                                                                                                                                      0.0s
 => => exporting layers                                                                                                                                                                     0.0s
 => => writing image sha256:86d6fffc8c88bf3134cbb9259694c4dd2ef9dee44c3900d5167b73c05b59e038                                                                                                0.0s
 => => naming to ghcr.io/toltec-dev/golang:latest                                                                                                                                           0.0s
 => exporting cache                                                                                                                                                                         0.0s
 => => preparing build cache for export                                                                                                                                                     0.0s
------
 > importing cache manifest from ghcr.io/toltec-dev/golang:latest:
------
raisjn commented 3 years ago

yes, looks good - thanks

dps commented 3 years ago

Thanks - you'll have to merge it as I don't have write access to this repo. Much appreciated.

On Sat, Mar 13, 2021 at 9:01 PM raisjn @.***> wrote:

@.**** approved this pull request.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/toltec-dev/toolchain/pull/11#pullrequestreview-611659679, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABZ6KZUBL54SQKUIHKVLWTTDQYJVANCNFSM4ZERVKJA .