This repository has been archived by the owner on Dec 23, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add base-wine-browser, and ie4 and ie55 containers!
- Loading branch information
Showing
14 changed files
with
123 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
*.tar.gz filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
FROM netcapsule/base-browser | ||
|
||
# Adapter from suchja/wine | ||
ENV WINE_MONO_VERSION 0.0.8 | ||
USER root | ||
|
||
# Install some tools required for creating the image | ||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
curl \ | ||
unzip | ||
|
||
# Install wine and related packages | ||
RUN dpkg --add-architecture i386 \ | ||
&& apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
wine \ | ||
wine32 \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# Use the latest version of winetricks | ||
RUN curl -SL 'http://winetricks.org/winetricks' -o /usr/local/bin/winetricks \ | ||
&& chmod +x /usr/local/bin/winetricks | ||
|
||
# Get latest version of mono for wine | ||
RUN mkdir -p /usr/share/wine/mono \ | ||
&& curl -SL 'http://sourceforge.net/projects/wine/files/Wine%20Mono/$WINE_MONO_VERSION/wine-mono-$WINE_MONO_VERSION.msi/download' -o /usr/share/wine/mono/wine-mono-$WINE_MONO_VERSION.msi \ | ||
&& chmod +x /usr/share/wine/mono/wine-mono-$WINE_MONO_VERSION.msi | ||
|
||
# Wine really doesn't like to be run as root, so let's use a non-root user | ||
USER browser | ||
ENV HOME /home/browser | ||
ENV WINEARCH win32 | ||
|
||
# Use xclient's home dir as working dir | ||
WORKDIR /home/browser |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM netcapsule/base-wine-browser | ||
|
||
USER browser | ||
WORKDIR /home/browser | ||
|
||
COPY ie4wine.tar.gz /home/browser/ie4wine.tar.gz | ||
|
||
COPY proxy.reg /home/browser/proxy.reg | ||
|
||
RUN tar xvf /home/browser/ie4wine.tar.gz; mv /home/browser/ie4 /home/browser/.ie4 | ||
|
||
COPY flux-apps /home/browser/.fluxbox/apps | ||
RUN sudo chown browser:browser -R /home/browser/.fluxbox | ||
|
||
COPY run.sh /app/run.sh | ||
RUN sudo chmod a+x /app/run.sh | ||
|
||
CMD /app/entry_point.sh /app/run.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[app] (.*) | ||
[Fullscreen] {yes} | ||
[end] | ||
|
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Regedit4 | ||
|
||
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] | ||
"MigrateProxy"=dword:00000001 | ||
"ProxyEnable"=dword:00000001 | ||
"ProxyHttp1.1"=dword:00000000 | ||
"ProxyServer"="netcapsule_pywb_1:8080" | ||
"ProxyOverride"="<local>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
export WINEPREFIX="/home/browser/.ie4" | ||
|
||
wine regedit proxy.reg | ||
|
||
wine 'C:/Program Files/Internet Explorer/iexplore.exe' $URL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM netcapsule/base-wine-browser | ||
|
||
USER browser | ||
WORKDIR /home/browser | ||
|
||
COPY ie55wine.tar.gz /home/browser/ie55wine.tar.gz | ||
|
||
COPY proxy.reg /home/browser/proxy.reg | ||
|
||
RUN tar xvf /home/browser/ie55wine.tar.gz; mv /home/browser/ie55 /home/browser/.ie55 | ||
|
||
COPY flux-apps /home/browser/.fluxbox/apps | ||
RUN sudo chown browser:browser -R /home/browser/.fluxbox | ||
|
||
COPY run.sh /app/run.sh | ||
RUN sudo chmod a+x /app/run.sh | ||
|
||
CMD /app/entry_point.sh /app/run.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[app] (.*) | ||
[Fullscreen] {yes} | ||
[end] | ||
|
Git LFS file not shown
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Regedit4 | ||
|
||
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings] | ||
"ProxyEnable"=dword:00000001 | ||
"ProxyServer"="http://netcapsule_pywb_1:8080" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
export WINEPREFIX="/home/browser/.ie55" | ||
|
||
wine regedit proxy.reg | ||
|
||
wine 'C:/Program Files/Internet Explorer/iexplore.exe' $URL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters