Unverified Commit 5db9b1fe authored by github-actions[bot]'s avatar github-actions[bot] Committed by GitHub
Browse files

Optimize images (#74)



* Optimize linux-slim image

* Fix lint

* Optimize windows image

---------

Co-authored-by: default avatarFedor Batonogov <f.batonogov@yandex.ru>
parent f5eff36f
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -15,7 +15,10 @@ RUN apt update \
        binutils \
        gcc \
        zlib1g-dev \
    && rm -rf /var/lib/apt/lists/* \
    && apt clean \
    && rm -rf \
        /var/lib/apt/lists/* \
        /var/cache/* \
    && pip3 install \
        pyinstaller==$PYINSTALLER_VERSION \
    && pip3 cache purge \
+14 −3
Original line number Diff line number Diff line
@@ -12,13 +12,24 @@ ARG PYINSTALLER_VERSION=6.5.0
RUN set -x \
    && dpkg --add-architecture i386 \
    && apt update -qy \
    && apt install --no-install-recommends -qfy apt-transport-https software-properties-common wget gpg-agent rename \
    && apt install --no-install-recommends -qfy \
        apt-transport-https \
        software-properties-common \
        wget \
        gpg-agent \
        rename \
    && wget -nv https://dl.winehq.org/wine-builds/winehq.key \
    && apt-key add winehq.key \
    && add-apt-repository 'https://dl.winehq.org/wine-builds/ubuntu/' \
    && apt update -qy \
    && apt install --no-install-recommends -qfy $WINE_VERSION winbind cabextract \
    && rm -rf /var/lib/apt/lists/* \
    && apt install --no-install-recommends -qfy \
        $WINE_VERSION \
        winbind  \
        cabextract \
    && apt clean \
    && rm -rf \
        /var/lib/apt/lists/* \
        /var/cache/* \
    && wget -nv https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks \
    && chmod +x winetricks \
    && mv winetricks /usr/local/bin
+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

Loading