Skip to content

Commit 24ffd9e

Browse files
committed
v1.2.1
1 parent faf48de commit 24ffd9e

File tree

3 files changed

+17
-12
lines changed

3 files changed

+17
-12
lines changed

Dockerfile

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ ARG PYTHON_VERSION=3.10.8
1212

1313
#Install Tool
1414
RUN apt-get update \
15-
&& apt-get install -y --no-install-recommends \
16-
ca-certificates \
15+
&& apt-get install -y --install-recommends \
16+
software-properties-common \
1717
wget \
18-
xvfb \
19-
gnupg
18+
xvfb
2019

2120
#Intall Wine
2221
COPY wine-init.sh /
@@ -25,7 +24,7 @@ RUN wget -nv -O- https://dl.winehq.org/wine-builds/winehq.key | APT_KEY_DONT_WAR
2524
&& echo "deb https://dl.winehq.org/wine-builds/ubuntu/ $(grep VERSION_CODENAME= /etc/os-release | cut -d= -f2) main" >> /etc/apt/sources.list \
2625
&& dpkg --add-architecture i386 \
2726
&& apt-get update \
28-
&& apt-get install -y --install-recommends winehq-stable \
27+
&& apt-get install -y --no-install-recommends winehq-stable \
2928
&& rm -rf /var/lib/apt/lists/* \
3029
&& xvfb-run sh wine-init.sh
3130

@@ -37,3 +36,6 @@ RUN wget https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VER
3736
wineserver -w" \
3837
&& rm python.exe
3938

39+
#Clear
40+
RUN apt-get autoremove -y --purge software-properties-common wget \
41+
&& apt-get clean -y

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Does not include the full Windows environment
1717

1818
If you have more requirements, please modify the `Dockerfile`
1919

20-
Read in other languages: English | [简体中文](./README.zh_cn.md)
20+
Read in other languages: English | [简体中文](https://github.com/bitjerry/wine-python/blob/main/README.zh_cn.md)
2121

2222
---
2323

@@ -38,4 +38,4 @@ xvfb-run sh -c "\
3838
### Copyright
3939

4040
---
41-
MIT © [bitjerry](./LICENSE)
41+
MIT © [bitjerry](https://github.com/bitjerry/wine-python/blob/main/LICENSE)

x64/Dockerfile

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ ARG PYTHON_VERSION=3.10.8
1212

1313
#Install Tool
1414
RUN apt-get update \
15-
&& apt-get install -y --no-install-recommends \
16-
ca-certificates \
15+
&& apt-get install -y --install-recommends \
16+
software-properties-common \
1717
wget \
18-
xvfb \
19-
gnupg
18+
xvfb
2019

2120
#Intall Wine
2221
COPY wine-init.sh /
@@ -25,7 +24,7 @@ RUN wget -nv -O- https://dl.winehq.org/wine-builds/winehq.key | APT_KEY_DONT_WAR
2524
&& echo "deb https://dl.winehq.org/wine-builds/ubuntu/ $(grep VERSION_CODENAME= /etc/os-release | cut -d= -f2) main" >> /etc/apt/sources.list \
2625
&& dpkg --add-architecture i386 \
2726
&& apt-get update \
28-
&& apt-get install -y --install-recommends winehq-stable \
27+
&& apt-get install -y --no-install-recommends winehq-stable \
2928
&& rm -rf /var/lib/apt/lists/* \
3029
&& xvfb-run sh wine-init.sh
3130

@@ -36,3 +35,7 @@ RUN wget https://www.python.org/ftp/python/${PYTHON_VERSION}/python-${PYTHON_VER
3635
Include_doc=0 InstallAllUsers=1 PrependPath=1; \
3736
wineserver -w" \
3837
&& rm python.exe
38+
39+
#Clear
40+
RUN apt-get autoremove -y --purge software-properties-common wget \
41+
&& apt-get clean -y

0 commit comments

Comments
 (0)