-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to build on vanilla Fedora 40 #14
Comments
@ctron could you try this Dockerfile? It contains the same commands but not using the NodeJS coming from Fedora but the one provided by NVM. I tried and it worked for me. # Builder image
FROM docker.io/library/fedora:40 as builder
COPY . /usr/src
WORKDIR /usr/src
RUN touch ~/.bashrc && chmod +x ~/.bashrc
RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
RUN . ~/.nvm/nvm.sh && source ~/.bashrc && \
nvm install 20 && nvm alias default 20 && nvm use default && \
npm clean-install --ignore-scripts && npm run build --dev |
If we could confirm the Dockerfile I shared in my previous comment works, then I would be tempted to suggest that the NodeJS provided by default by Fedora 40 is the real problem. |
It looks like it's missing something:
|
I am not sure why it needs to run |
I have created #15 to verify and be 100% sure the Dockerfile shared above actually works. And the result is that YES, the Dockerfile works. I ignore the reason why it does not work for you but if a Dockerfile can be built in Github actions I would expect the error might be somewhere in your local machine. Also my expectation would be that if it works in docker then podman should also work (but I didn't test podman). The bottom line of the problem, is that the NodeJS provided by Fedora has something wrong and does not allow the UI to be built although at this moment I ignore what is exactly the "thing" in the NodeJS from RPM that is causing the problem. |
assigned to myself as I'm still playing with this containerfile #14 (comment) |
Solved by #32 |
Using the following
Containerfile
, I am not able to build the project:The text was updated successfully, but these errors were encountered: