From 3e8b683e24478c4ec0df8a87d714f17af36f00e8 Mon Sep 17 00:00:00 2001 From: rikman112 Date: Wed, 9 Oct 2024 15:38:00 +0200 Subject: [PATCH 1/2] Added Heroic Games Launcher image --- images/heroic-games-launcher/Dockerfile | 50 +++++++++++++++++++ .../heroic-games-launcher/scripts/startup.sh | 5 ++ 2 files changed, 55 insertions(+) create mode 100644 images/heroic-games-launcher/Dockerfile create mode 100644 images/heroic-games-launcher/scripts/startup.sh diff --git a/images/heroic-games-launcher/Dockerfile b/images/heroic-games-launcher/Dockerfile new file mode 100644 index 00000000..97f9165c --- /dev/null +++ b/images/heroic-games-launcher/Dockerfile @@ -0,0 +1,50 @@ +# syntax=docker/dockerfile:1.4 +ARG BASE_APP_IMAGE + +# hadolint ignore=DL3006 +FROM ${BASE_APP_IMAGE} + +ARG DEBIAN_FRONTEND=noninteractive + +#Added 32-bit libs because of GE-Proton needs +ARG REQUIRED_PACKAGES=" \ + libfreetype6:i386 \ + libvulkan1 \ + libvulkan1:i386 \ + mesa-vulkan-drivers \ + mesa-vulkan-drivers:i386 \ + wine64 \ + wine32 \ + libasound2-plugins:i386 \ + libsdl2-2.0-0:i386 \ + libdbus-1-3:i386 \ + libsqlite3-0:i386 \ + wine-stable \ + winetricks \ + zenity \ + libnotify4 \ + xdg-utils \ + libsecret-1-0 \ + curl \ + unzip \ + p7zip-full \ + cabextract \ + gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav \ + gstreamer1.0-plugins-base:i386 gstreamer1.0-plugins-good:i386 gstreamer1.0-plugins-bad:i386 gstreamer1.0-plugins-ugly:i386 gstreamer1.0-libav:i386 \ + " + +RUN dpkg --add-architecture i386 && \ + apt-get update && \ + apt-get install -y --no-install-recommends $REQUIRED_PACKAGES && \ + wget https://github.com/Heroic-Games-Launcher/HeroicGamesLauncher/releases/download/v2.15.2/heroic_2.15.2_amd64.deb && \ + dpkg -i ./heroic_2.15.2_amd64.deb && \ + rm ./heroic_2.15.2_amd64.deb && \ + apt-get autoremove -y && \ + rm -rf /var/lib/apt/lists/* + +COPY --chmod=777 scripts/startup.sh /opt/gow/startup-app.sh + +ENV XDG_RUNTIME_DIR=/tmp/.X11-unix + +ARG IMAGE_SOURCE +LABEL org.opencontainers.image.source=$IMAGE_SOURCE diff --git a/images/heroic-games-launcher/scripts/startup.sh b/images/heroic-games-launcher/scripts/startup.sh new file mode 100644 index 00000000..ca6287e8 --- /dev/null +++ b/images/heroic-games-launcher/scripts/startup.sh @@ -0,0 +1,5 @@ +#!/bin/bash +set -e + +source /opt/gow/launch-comp.sh +launcher /usr/bin/heroic --no-sandbox \ No newline at end of file From 5b42c7355e13112d642f22929c1df78f637eb716 Mon Sep 17 00:00:00 2001 From: ABeltramo Date: Wed, 9 Oct 2024 20:15:45 +0100 Subject: [PATCH 2/2] ci: added heroic image build --- .github/workflows/auto-build.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/auto-build.yml b/.github/workflows/auto-build.yml index 6c60e84c..30a84d5a 100644 --- a/.github/workflows/auto-build.yml +++ b/.github/workflows/auto-build.yml @@ -33,15 +33,16 @@ jobs: strategy: matrix: image: - - { name: xorg, platforms: "linux/amd64" } - - { name: pulseaudio, platforms: "linux/amd64" } - - { name: udevd, platforms: "linux/amd64" } - - { name: sunshine, platforms: "linux/amd64" } - - { name: retroarch, platforms: "linux/amd64" } - - { name: firefox, platforms: "linux/amd64" } - - { name: steam, platforms: "linux/amd64" } - - { name: pegasus, platforms: "linux/amd64" } - - { name: lutris, platforms: "linux/amd64" } + - { name: xorg, platforms: "linux/amd64" } + - { name: pulseaudio, platforms: "linux/amd64" } + - { name: udevd, platforms: "linux/amd64" } + - { name: sunshine, platforms: "linux/amd64" } + - { name: retroarch, platforms: "linux/amd64" } + - { name: firefox, platforms: "linux/amd64" } + - { name: steam, platforms: "linux/amd64" } + - { name: pegasus, platforms: "linux/amd64" } + - { name: lutris, platforms: "linux/amd64" } + - { name: heroic-games-launcher, platforms: "linux/amd64" } #- { name: es-de, platforms: "linux/amd64" } fail-fast: false uses: ./.github/workflows/docker-build-and-publish.yml