Antiz96 / Ankama-Launcher-Container

A distrobox container including every needed files, packages and dependencies to run the Ankama launcher and the related games (Dofus, Dofus-Retro, Wakfu). Supports the SteamDeck and SteamOS!
GNU General Public License v3.0
7 stars 1 forks source link
ankama appimage arch archlinux container distrobox docker dockerfile dofus immutable podman rootless steamdeck steamos wakfu waven wine

Ankama-Launcher-Container

Table of contents

Description

A container including every needed files, packages and dependencies to run the Ankama launcher and the related games (Dofus, Dofus-Retro, Wakfu).
It is meant to be used with distrobox, the container won't be able to launch the Ankama launcher with plain old Docker/Podman as is.

Supports SteamDeck/SteamOS (given you installed distrobox and podman in a rootless way as described here).

"Why would I use this instead of simply running the Ankama Launcher AppImage directly on my system?"
Here are a few reasons why one would want to:

Installation

Prerequisite

Install distrobox as well as docker or podman.
Users running Xorg / X11 additionally need to install the X.org xhost utility.

SteamOS users have to install distrobox and podman in a rootless way, as described here.

Install the container

Pull the container image and initialize it in distrobox:
Example below with the latest tag, but you can use any other tagged version if you prefer.

distrobox create -r -n ankama-launcher -i ghcr.io/antiz96/ankama-launcher:latest

Requires a sudoless/rootless docker or podman setup.

distrobox create -n ankama-launcher -i ghcr.io/antiz96/ankama-launcher:latest

Install the host integration

To enhance the integration with the host machine, this repo contains a script as well as a ".desktop" file that allows you to launch the Ankama launcher within the container graphically like you would do with any other application (see the Usage chapter for more details).

To install them, download the archive of the latest stable release and extract it (alternatively, you can clone this repository via git).
Then go into the extracted/cloned directory and run the following command:

sudo make install
sudo make install-rootless
./steamos.sh install

Usage

Simply run the following command in order to run the container and launch the Ankama launcher:

ankama-launcher-container

Alternatively, you can run the Ankama Launcher Container application graphically via your application menu like you would do with any other application.

Update

Upgrade the container

The container is rebuilt periodically to update the packages base and apply eventual security fix and / or significant changes.

To upgrade the container after a new release has been made, pull the container image to get the new version:
Example below with the latest tag, but you can use any other tagged version if you prefer.

docker pull ghcr.io/antiz96/ankama-launcher:latest || podman pull ghcr.io/antiz96/ankama-launcher:latest

Then delete the running container running in distrobox and recreate it against the new image:

distrobox rm -r -f ankama-launcher
distrobox create -r -n ankama-launcher -i ghcr.io/antiz96/ankama-launcher:latest
distrobox rm -f ankama-launcher
distrobox create -n ankama-launcher -i ghcr.io/antiz96/ankama-launcher:latest

To delete the old dangling image after the upgrade, run the following command:

docker image prune -a || podman image prune -a

Update the host integration

Updating the host integration at each new release isn't generally necessary. If significant changes are made to the related files which would require an update, it will be noted in the release's notes.

To update the host integration after a new release has been made, repeat the tasks listed in the Installation/Host integration chapter.

Uninstallation

Uninstall the container

To delete the container, run the following command:

distrobox rm -r -f ankama-launcher
distrobox rm -f ankama-launcher

Uninstall the host integration

To remove the host integration, go into the previously extracted/cloned directory and run the following command:

sudo make uninstall
./steamos.sh uninstall

Contributing

You can raise your issues, feedbacks and suggestions in the issues tab.
Pull requests are welcomed as well!