You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure If you found a solution or not, I had a similar issue with node image labeled node:20.10.0-alpine with this logged in my gitlab pipeline log
------
> [internal] load metadata for docker.io/library/node:20.10-alpine:
------
Dockerfile:1
--------------------
1 | >>> FROM node:20.10-alpine
2 |
3 | ARG build_type="production"
--------------------
ERROR: failed to solve: node:20.10-alpine: failed to resolve source metadata for docker.io/library/node:20.10-alpine: failed to authorize: failed to fetch oauth token: unexpected status from POST request to https://auth.docker.io/token: 502 Bad Gateway
The solution was to change the docker image, my case I used node:20.17-alpine instead.
Make sure just to retest the build locally with this version, as you may have changes based on this version!
Environment
Expected Behavior
I'm trying to build a multi-arch image from this Dockerfile (https://github.com/nodejs/docker-node/blob/main/20/alpine3.18/Dockerfile) with the following command:
And I'm expecting a working image after the build is done.
Current Behavior
But I get an error saying:
Steps to Reproduce
Try to use the build command I supplied
The text was updated successfully, but these errors were encountered: