conda-incubator / conda-store-ui

conda-store-ui is a frontend for conda-store powered by react
https://conda-incubator.github.io/conda-store-ui/
BSD 3-Clause "New" or "Revised" License
13 stars 18 forks source link

[BUG] - Docker won't build because of unsupported node version. #323

Closed dcmcand closed 9 months ago

dcmcand commented 10 months ago

Describe the bug

The node version used in the docker file uses node 16 which was EOL as of Sept 2023 (https://endoflife.date/nodejs). Building the dockerfile or running docker-compose up fails because node 16 images are not available on dockerhub anymore. Using an EOL version of Node also represents a security issue.

Expected behavior

Dockerfile builds and docker-compose up works.

How to Reproduce the problem?

run docker-compose up from the root of the project.

Output

=> => transferring context: 2B 0.0s => ERROR [internal] load metadata for docker.io/library/node:16.16-alpine3.18 0.4s

[internal] load metadata for docker.io/library/node:16.16-alpine3.18:

Dockerfile:1

1 | >>> FROM node:16.16-alpine3.18 2 |
3 | WORKDIR /usr/src/app

ERROR: failed to solve: node:16.16-alpine3.18: docker.io/library/node:16.16-alpine3.18: not found ERROR: Service 'conda-store-ui' failed to build : Build failed

Versions and dependencies used.

No response

Anything else?

No response