Browse Source

Wine (i386) image

Steve Thielemann 7 years ago
commit
febe1e28ff
7 changed files with 44 additions and 0 deletions
  1. BIN
      Balsamiq_Mockups_3.5.15_bundled.zip
  2. 5 0
      NOTES.txt
  3. 4 0
      bas3up.sh
  4. 15 0
      docker-compose.yml
  5. 9 0
      image/Dockerfile
  6. 7 0
      image/Dockerfile64
  7. 4 0
      wineup.sh

BIN
Balsamiq_Mockups_3.5.15_bundled.zip


+ 5 - 0
NOTES.txt

@@ -0,0 +1,5 @@
+
+http://alesnosek.com/blog/2015/07/04/running-wine-within-docker/
+
+https://askubuntu.com/questions/16225/how-can-i-accept-the-microsoft-eula-agreement-for-ttf-mscorefonts-installer
+

+ 4 - 0
bas3up.sh

@@ -0,0 +1,4 @@
+#!/bin/bash
+
+docker run --rm --volume /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 --volume $(pwd)/wine:/home/stevet/.wine --volume /etc/passwd:/etc/passwd -u $(id -u):$(id -g) wine_wine "C:\\bal3\\Balsamiq Mockups 3.exe"
+

+ 15 - 0
docker-compose.yml

@@ -0,0 +1,15 @@
+version: "2"
+
+services:
+  wine:
+    build: image
+    volumes:
+      - /tmp/.X11-unix/X0:/tmp/.X11-unix/X0
+      - ./wine:/home/stevet/.wine
+      - /etc/passwd:/etc/passwd:ro
+    user: 1000:1000
+    command: ["c:\\bal3\\Balsamiq Mockups 3.exe"]
+    # ["c:\\windows\\system32\\notepad.exe"]
+
+    
+    

+ 9 - 0
image/Dockerfile

@@ -0,0 +1,9 @@
+FROM i386/ubuntu:latest
+RUN echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections \
+&& apt-get update \
+&& apt-get install --assume-yes wine
+ENV DISPLAY :0
+ENTRYPOINT ["wine"]
+
+
+

+ 7 - 0
image/Dockerfile64

@@ -0,0 +1,7 @@
+FROM ubuntu:latest
+RUN dpkg --add-architecture i386 \
+&& echo ttf-mscorefonts-installer msttcorefonts/accepted-mscorefonts-eula select true | debconf-set-selections \
+&& apt-get update \
+&& apt-get install --assume-yes wine
+ENV DISPLAY :0
+

+ 4 - 0
wineup.sh

@@ -0,0 +1,4 @@
+#!/bin/bash
+
+docker run --rm --volume /tmp/.X11-unix/X0:/tmp/.X11-unix/X0 --volume $(pwd)/wine:/home/stevet/.wine --volume /etc/passwd:/etc/passwd -u $(id -u):$(id -g) wine_wine "C:\\windows\\system32\\notepad.exe"
+