Giter Club home page Giter Club logo

windowsservercore_container_with_fonts's Introduction

Windows Server Core container with fonts

This repo contains build scripts to create a docker image from an existing Windows Server Core docker image that adds the fonts features that are normally missing.

This allows adding them to images like mcr.microsoft.com/dotnet/framework/sdk which then allow things like Playwright to work correctly (at least chromium does).

This is an alternative technique to that used in CZEMacLeod/PlaywrightWindowsServerCore2022:chromium although it is based on the same technique to download the missing server files.

Simply run Build.ps1 making sure you have a lot of disk space ;)

The source and destination images are just shy of 8Gb (although the latter should only be about +500MB in the layer). The WinSxS cache is ~5.8GB, and the cache source image is another ~7.6GB. The cache is created if it does not exist, and will be updated if you pass in the -u flag to Build.ps1

Other parameters you can pass are

parameter alias description default
src_img -si The source image (including source repository) you want to use for the basis of the image mcr.microsoft.com/dotnet/framework/sdk
src_tag -st The source tag you want to use 4.8-windowsservercore-ltsc2022
dest_img -di The destination image name (can incllude a repository name, but it won't automatically push) dotnetframeworksdkfonts
dest_tag -dt The destination tag name Same as src_tag

The DISM font install approach is loosely based on the technique described in Adding optional font packages to Windows containers. That requires that the user has admin rights to create a temp share, however this technique does not have this requirement as it uses volume mounts and does not add any additional bloat of install files and other layers.

windowsservercore_container_with_fonts's People

Contributors

czemacleod avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.