-
Describe the Bugnew blazor project, standard DOCKERFILE FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base
WORKDIR /app
EXPOSE 80
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
WORKDIR /src
COPY ["BlazorDBConnetApp/BlazorDBConnetApp.csproj", "BlazorDBConnetApp/"]
RUN dotnet restore "BlazorDBConnetApp/BlazorDBConnetApp.csproj"
COPY . .
WORKDIR "/src/BlazorDBConnetApp"
RUN dotnet build "BlazorDBConnetApp.csproj" -c Release -o /app/build
FROM build AS publish
RUN dotnet publish "BlazorDBConnetApp.csproj" -c Release -o /app/publish /p:UseAppHost=false
FROM base AS final
WORKDIR /app
RUN apt install -y krb5-config
RUN apt-get install -y krb5-user
COPY BlazorDBConnetApp/keyfiles/krb5.conf /etc/krb5.conf
COPY BlazorDBConnetApp/keyfiles/keytab.sh .
COPY BlazorDBConnetApp/keyfiles/BlazorDBConnetApp-entrypoint.sh .
COPY --from=publish /app/publish .
ENTRYPOINT ["/app/BlazorDBConnetApp-entrypoint.sh"] BlazorDBConnetApp-entrypoint.sh #!/bin/bash
/app/keytab.sh & dotnet BlazorDBConnetApp.dll keytab.sh #!/bin/bash
user="UserName"
pass="PassWord"
printf "%b" "addent -password -p $user -k 1 -e aes256-cts-hmac-sha1-96\n$pass\nwrite_kt $user.keytab" | ktutil Steps to Reproducesee description aboveOther InformationOutput of
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Since this error is coming from |
Beta Was this translation helpful? Give feedback.
Since this error is coming from
ktutil
, you're probably going to have better luck in diagnosing the issue by asking for help from the broader Linux community, like https://unix.stackexchange.com. I did find this post related to this error message: https://stackoverflow.com/a/69653057/3174766.