Open a-abella opened 5 months ago
Also,
I am using Docker and WSL.
I got this error when deploying kubernetes:
Syntax error: EOF in backquote substitution
This was due to backquotes at the last line in dockerfile: ENTRYPOINT ["dotnet", "health-probes.dll"]```
Removing ``` and recreating the oci image fixed the problem.
For
3 Application Observability and Maintenance/3 Implementing Probes and Health Checks/health-probes/dockerfile
:Workaround: pin the following image versions in the dockerfile:
FROM mcr.microsoft.com/dotnet/aspnet AS base
->FROM mcr.microsoft.com/dotnet/aspnet:7.0.0 AS base
FROM mcr.microsoft.com/dotnet/sdk AS build
->FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build