Skip to content

Commit

Permalink
Merge pull request #193 from rikman122/master
Browse files Browse the repository at this point in the history
Added Heroic Games Launcher image
  • Loading branch information
ABeltramo authored Oct 9, 2024
2 parents ba0bc43 + 5b42c73 commit f6820ac
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/auto-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
50 changes: 50 additions & 0 deletions images/heroic-games-launcher/Dockerfile
Original file line number Diff line number Diff line change
@@ -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
5 changes: 5 additions & 0 deletions images/heroic-games-launcher/scripts/startup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash
set -e

source /opt/gow/launch-comp.sh
launcher /usr/bin/heroic --no-sandbox

0 comments on commit f6820ac

Please sign in to comment.