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

Buildings Mono In Alpine with Jenkins error #556

Open
luismanuelmontoro opened this issue Feb 2, 2021 · 1 comment
Open

Buildings Mono In Alpine with Jenkins error #556

luismanuelmontoro opened this issue Feb 2, 2021 · 1 comment

Comments

@luismanuelmontoro
Copy link

luismanuelmontoro commented Feb 2, 2021

Hello, I´m trying to compile this image.

FROM mcr.microsoft.com/dotnet/core/sdk:3.1-alpine3.12

RUN echo "Install GnuPg, ca-certificates and add Mono repo" 

RUN apk add --no-cache mono --repository http://dl-cdn.alpinelinux.org/alpine/edge/testing && \
    apk add --no-cache --virtual=.build-dependencies ca-certificates && \
    cert-sync /etc/ssl/certs/ca-certificates.crt && \
    apk del .build-dependencies

And i having this error, can you help me?

Error: System.TypeInitializationException: The type initializer for 'Sys' threw an exception. ---> System.DllNotFoundException: /usr/lib/../lib/libmono-native.so assembly:<unknown assembly> type:<unknown type> member:(null)

@luismanuelmontoro
Copy link
Author

I find the error in the cert-sync /etc/ssl/certs/ca-certificates.crt but i dont know how to solved

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