gliderlabs/docker-alpine

Buildings Mono In Alpine with Jenkins error

luismanuelmontoro opened this issue · 1 comments

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)

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