Hi!
I got an issue with v4.12.1 and previous version when I build a docker image.
I use a Dockerfile from Docker | Strapi Documentation
FROM node:18-alpine
# Installing libvips-dev for sharp Compatibility
RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev nasm bash vips-dev
ARG NODE_ENV=development
ENV NODE_ENV=${NODE_ENV}
WORKDIR /opt/
COPY package.json yarn.lock ./
RUN yarn config set network-timeout 600000 -g && yarn install
ENV PATH /opt/node_modules/.bin:$PATH
WORKDIR /opt/app
COPY . .
RUN chown -R node:node /opt/app
USER node
RUN ["yarn", "build"]
EXPOSE 1337
CMD ["yarn", "develop"]
When I run docker build command, get the following error
[+] Building 7.9s (9/13)
=> [internal] load build definition from Dockerfile 0.0s
=> => transferring dockerfile: 583B 0.0s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load metadata for docker.io/library/node:18-alpine 1.7s
=> [1/9] FROM docker.io/library/node:18-alpine@sha256:e98b96c93214f1ac4253cc1741aa96933947ca904ba0dc750ba0e33016d18521 0.0s
=> [internal] load build context 0.9s
=> => transferring context: 763.58kB 0.9s
=> CACHED [2/9] RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev nasm bash vips-dev 0.0s
=> CACHED [3/9] WORKDIR /opt/ 0.0s
=> CACHED [4/9] COPY package.json yarn.lock ./ 0.0s
=> ERROR [5/9] RUN yarn config set network-timeout 6000000 -g && yarn install 5.3s
------
> [5/9] RUN yarn config set network-timeout 6000000 -g && yarn install:
#9 0.385 yarn config v1.22.19
#9 0.433 success Set "network-timeout" to "6000000".
#9 0.433 Done in 0.06s.
#9 0.639 yarn install v1.22.19
#9 0.792 [1/5] Validating package.json...
#9 0.798 [2/5] Resolving packages...
#9 5.221 error An unexpected error occurred: "https://registry.yarnpkg.com/@strapi%2fadmin-test-utils: Not found".
#9 5.221 info If you think this is a bug, please open a bug report with the information provided in "/opt/yarn-error.log".
#9 5.221 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
------
executor failed running [/bin/sh -c yarn config set network-timeout 6000000 -g && yarn install]: exit code: 1
Any ideas what is wrong with admin-test-utils package?
Is this package a really important and could be skipped?
Thanks