From 381738317985cf36bc91393c743358cd3dd92f95 Mon Sep 17 00:00:00 2001 From: johnthagen Date: Fri, 5 Mar 2021 16:09:16 -0500 Subject: [PATCH] Add instructions for Docker --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index d62d229d..e00004ea 100644 --- a/README.md +++ b/README.md @@ -50,6 +50,24 @@ You can build and run the unit tests by running: If you run into issues you might want to try with a newer mono version or with our custom `mono-sil` package from [packages.sil.org](http://packages.sil.org/) +### Docker + +icu-dotnet depends on libc dynamic libraries at run time. If running within Docker, you may +need to install them, for example: + +```Dockerfile +FROM mcr.microsoft.com/dotnet/aspnet:3.1 + +# Install system dependencies. +RUN apt-get update \ + && apt-get install -y \ + # icu.net dependency: libdl.so + libc6-dev \ + && rm -rf /var/lib/apt/lists/* + +... +``` + ### Windows Build and run the unit tests by running: