Giter Site home page Giter Site logo

docker-wine64's People

Contributors

muojp avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

docker-wine64's Issues

Further image size reduction

Related: #2

We would be able to reduce image size by

  • using multi-stage-building feature
  • replacing base image to alpine/distroless

Using multi-stage building would be a lightweight way. On the contrary, base-image replacement would be painful because Wine heavily relies upon glibc.

32-bit support is corrupt

Docker image: muojp/wine64:6

In this build, wine(32-bit) actually does nothing. make install should also be performed in wine32-build; I misunderstood the build procedure.

Prepare ~/.wine in docker build

On current build (muojp/wine64:8), you will be prompted the following message every time you create new container and run wine-related commands.

wine: created the configuration directory '/root/.wine'
Application tried to create a window, but no driver could be loaded.
The graphics driver is missing. Check your build!
Application tried to create a window, but no driver could be loaded.
The graphics driver is missing. Check your build!
err:systray:initialize_systray Could not create tray window
Application tried to create a window, but no driver could be loaded.
The graphics driver is missing. Check your build!
Application tried to create a window, but no driver could be loaded.
The graphics driver is missing. Check your build!
Application tried to create a window, but no driver could be loaded.
The graphics driver is missing. Check your build!
Application tried to create a window, but no driver could be loaded.
The graphics driver is missing. Check your build!
Could not load wine-gecko. HTML rendering will be disabled.
Application tried to create a window, but no driver could be loaded.
The graphics driver is missing. Check your build!
Application tried to create a window, but no driver could be loaded.
The graphics driver is missing. Check your build!
Could not load wine-gecko. HTML rendering will be disabled.
wine: configuration in '/root/.wine' has been updated.
Application tried to create a window, but no driver could be loaded.
The graphics driver is missing. Check your build!

It's harmless but is a bit annoying. Performing winecfg in build procedure would be enough. Simply running winecfg after make install on Dockerfile would do the trick.

Eliminate `fixme` warnings

I assume it's because we omitted X integration.

err:menubuilder:convert_to_native_icon error 0x80004005 creating bitmap encoder
err:wincodecs:PngEncoder_CreateInstance Trying to save PNG picture, but PNG support is not compiled in.
fixme:ole:CoCreateInstance no instance created for interface {00000103-a8f2-4877-ba0a-fd2b6645fb94} of class {27949969-876a-41d7-9447-568f6a35a4dc}, hres is 0x80004005
err:menubuilder:convert_to_native_icon error 0x80004005 creating bitmap encoder
err:wincodecs:PngEncoder_CreateInstance Trying to save PNG picture, but PNG support is not compiled in.
fixme:ole:CoCreateInstance no instance created for interface {00000103-a8f2-4877-ba0a-fd2b6645fb94} of class {27949969-876a-41d7-9447-568f6a35a4dc}, hres is 0x80004005
err:menubuilder:convert_to_native_icon error 0x80004005 creating bitmap encoder
err:wincodecs:PngEncoder_CreateInstance Trying to save PNG picture, but PNG support is not compiled in.
fixme:ole:CoCreateInstance no instance created for interface {00000103-a8f2-4877-ba0a-fd2b6645fb94} of class {27949969-876a-41d7-9447-568f6a35a4dc}, hres is 0x80004005

Shrink image size

As of 6674156, Docker image need 716MB.
image

This could be drastically reduced with optimized Dockerfile (remove intermediate files).

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.