yusuke
yusuke
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
All I needed to do was update my docker version and it worked
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
thanks though
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
I do have a later version of docker on the pc where the docker-compose runs fine without any issues
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
im so confused
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
I have just committed my changes as is to bitbucket and pulled it down onto a different pc and now it all works
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
yeah I curled all of those nuget packages and I have access to all of them, no network issues on every curl I did
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
with dotnet fully releasing next week, I wonder if this is just a dotnet 8 issue with docker? i noticed visual studio doesn't add a docker file when selecting a dotnet 8 rc/preview web api project
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
No description
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
same issue
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
I tried diagnostic as well since its suppose to give the most details
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
if so it didn't work either
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
RUN dotnet restore "vmg.dashboards/vmg.dashboards.csproj" -v:d
RUN dotnet restore "vmg.dashboards/vmg.dashboards.csproj" -v:d
?
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
will do
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
same issue returning code 137.
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
will try -v detailed
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
not sure why it's not using the verbosity
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
RUN dotnet restore "vmg.dashboards/vmg.dashboards.csproj" --verbosity detailed
RUN dotnet restore "vmg.dashboards/vmg.dashboards.csproj" --verbosity detailed
Failed to create CoreCLR, HRESULT: 0x80070008 ERROR: Service 'vmg-dashboards-api' failed to build: The command '/bin/sh -c dotnet restore "vmg.dashboards/vmg.dashboards.csproj" --verbosity detailed' returned a non-zero code: 137
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
ah! thanks will try that
56 replies
CC#
Created by yusuke on 11/10/2023 in #help
✅ docker build with dotnet 8
response
Building vmg-dashboards-api
Step 1/17 : FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
---> 23570daf3230
Step 2/17 : WORKDIR /app
---> Using cache
---> bd727d53691b
Step 3/17 : EXPOSE 50000
---> Using cache
---> 47be32e4215f
Step 4/17 : EXPOSE 50001
---> Using cache
---> f19e10842eef

Step 5/17 : FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
---> be1ae8176b78
Step 6/17 : WORKDIR /src
---> Using cache
---> f80abc4b0f1c
Step 7/17 : COPY ["vmg.dashboards/vmg.dashboards.csproj", "vmg.dashboards/"]
---> Using cache
---> 313642fc0824
Step 8/17 : RUN dotnet restore "vmg.dashboards/vmg.dashboards.csproj"
---> Running in 060a6309902d
Failed to create CoreCLR, HRESULT: 0x80070008
ERROR: Service 'vmg-dashboards-api' failed to build: The command '/bin/sh -c dotnet restore "vmg.dashboards/vmg.dashboards.csproj"' returned a non-zero code: 137
Building vmg-dashboards-api
Step 1/17 : FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
---> 23570daf3230
Step 2/17 : WORKDIR /app
---> Using cache
---> bd727d53691b
Step 3/17 : EXPOSE 50000
---> Using cache
---> 47be32e4215f
Step 4/17 : EXPOSE 50001
---> Using cache
---> f19e10842eef

Step 5/17 : FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
---> be1ae8176b78
Step 6/17 : WORKDIR /src
---> Using cache
---> f80abc4b0f1c
Step 7/17 : COPY ["vmg.dashboards/vmg.dashboards.csproj", "vmg.dashboards/"]
---> Using cache
---> 313642fc0824
Step 8/17 : RUN dotnet restore "vmg.dashboards/vmg.dashboards.csproj"
---> Running in 060a6309902d
Failed to create CoreCLR, HRESULT: 0x80070008
ERROR: Service 'vmg-dashboards-api' failed to build: The command '/bin/sh -c dotnet restore "vmg.dashboards/vmg.dashboards.csproj"' returned a non-zero code: 137
56 replies