jabyrd3 / typeto.me2

Successor to typeto.me
8 stars 3 forks source link

docker build fails #7

Closed dmd closed 7 months ago

dmd commented 7 months ago
$ DOCKER_BUILDKIT=1 docker build -t typetome .
[+] Building 0.4s (6/6) FINISHED                                                                                         docker:default
 => [internal] load build definition from Dockerfile                                                                               0.1s
 => => transferring dockerfile: 391B                                                                                               0.0s
 => [internal] load .dockerignore                                                                                                  0.1s
 => => transferring context: 2B                                                                                                    0.0s
 => CANCELED [internal] load metadata for docker.io/frolvlad/alpine-glibc:alpine-3.11_glibc-2.31                                   0.1s
 => ERROR [internal] load metadata for docker.io/library/deno-build:latest                                                         0.1s
 => [auth] frolvlad/alpine-glibc:pull token for registry-1.docker.io                                                               0.0s
 => [auth] library/deno-build:pull token for registry-1.docker.io                                                                  0.0s
------
 > [internal] load metadata for docker.io/library/deno-build:latest:
------
Dockerfile:1
--------------------
   1 | >>> FROM deno-build:latest AS builder
   2 |     FROM frolvlad/alpine-glibc:alpine-3.11_glibc-2.31
   3 |     RUN apk update && apk add libstdc++ \
--------------------
ERROR: failed to solve: deno-build:latest: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed
dmd commented 7 months ago

Fails even after docker login.

jabyrd3 commented 7 months ago

yeah i need to update the docs to show how to use the builder.dockerfile and then copy the binary into the container, (and also update the dockerfile itself), the skeleton was't set up to support binary exporting and runtime container building

jabyrd3 commented 7 months ago

tweaks and docs in e6e25c4