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
Had an issue running the docker file, this was the error output:
Step 8/23 : RUN make
---> Running in 9187ffbbc916
mkdir -p obj
mkdir: cannot create directory 'obj': Permission denied
make: *** [../../Makefile.config:16: obj] Error 1
The command '/bin/sh -c make' returned a non-zero code: 2
I bypassed this by adding :
USER root
To line 8 of Dockerfile
Again, another permissions issue popped up:
Step 15/24 : RUN dotnet restore -r alpine-x64
---> Running in e5cefff48350
Determining projects to restore...
/usr/share/dotnet/sdk/6.0.302/NuGet.targets(130,5): error : Access to the path '/home/nonroot/mbs-analytics/src/frontend/obj' is denied. [/home/nonroot/mbs-analytics/src/frontend/frontend.csproj]
/usr/share/dotnet/sdk/6.0.302/NuGet.targets(130,5): error : Permission denied [/home/nonroot/mbs-analytics/src/frontend/frontend.csproj]
The command '/bin/sh -c dotnet restore -r alpine-x64' returned a non-zero code: 1
By adding
USER root
to line 16, it began to work again.
This resulted in a successful docker build.
!!! Can you add a walkthrough of how to use this program in the read me? upon running the program immediately outputs a bunch of features and exits. I am not sure how to interpret this
The text was updated successfully, but these errors were encountered:
Had an issue running the docker file, this was the error output:
I bypassed this by adding :
To line 8 of Dockerfile
Again, another permissions issue popped up:
By adding
to line 16, it began to work again.
This resulted in a successful docker build.
!!! Can you add a walkthrough of how to use this program in the read me? upon running the program immediately outputs a bunch of features and exits. I am not sure how to interpret this
The text was updated successfully, but these errors were encountered: