Skip to content
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

Linux: If "libcoreclr.so" is not present then "libncursesw.so" should be used. #1830

Closed
BDisp opened this issue Jun 20, 2022 · 0 comments
Closed

Comments

@BDisp
Copy link
Collaborator

BDisp commented Jun 20, 2022

In the end, if libncursesw.so is not also found an exception will throwing. To test use this Dockerfile:


FROM mcr.microsoft.com/dotnet/runtime:6.0-alpine3.15-amd64 AS base
RUN apk add bash icu-libs krb5-libs libgcc libintl libssl1.1 libstdc++ zlib wget xclip && \
        apk add libgdiplus --repository https://dl-3.alpinelinux.org/alpine/edge/testing/

ENV DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
        LANG=en_US.UTF-8 \
	TERM=xterm-256color

WORKDIR /app

FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine3.15-amd64 AS build
WORKDIR /src
COPY ["UICatalog/UICatalog.csproj", "UICatalog/"]
COPY ["Terminal.Gui/Terminal.Gui.csproj", "Terminal.Gui/"]
RUN dotnet restore "UICatalog/UICatalog.csproj"
COPY . .
WORKDIR "/src/UICatalog"
RUN dotnet build "UICatalog.csproj" -c Debug -o /app/build

FROM build AS publish
RUN dotnet publish "UICatalog.csproj" -c Debug -o /app/publish

FROM base AS final
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "UICatalog.dll"]

BDisp added a commit to BDisp/Terminal.Gui that referenced this issue Jun 20, 2022
@tig tig closed this as completed in 935f039 Jun 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant