Sign inSign up

ijo42/glauncher

By ijo42

•Updated 4 months ago

Buildkit cache
Image
0

4.8K

ijo42/glauncher repository overview

⁠GravitLauncherDockered

Docker Pulls Docker Image Size (latest by date) GitHub Repo stars GitHub forks


Repo contains GravitLauncher⁠, with lsiobase/alpine⁠ as the base image and minimal liberica⁠ JDK for image size reduce.

The lsiobase/alpine⁠ image is a custom base image built with Alpine linux⁠ and S6 overlay⁠. Using this image allows us to use the same user/group ids in the container as on the host, making file transfers much easier

⁠Deployment

TagsDescription
latestUsing the latest tag will pull the weekly-builded image.

⁠Pre-built images latest

using docker-compose:

version: "2"
services:
  launchserver:
    image: ijo42/glauncher:latest
    container_name: launchserver
    restart: unless-stopped
    environment:
      - TZ=Europe/Moscow # Timezone
      - PUID=1000 # User ID
      - PGID=1000 # Group ID
    ports:
      - 9274:9274
    volumes:
      - /host/path/to/launchserver:/app/launchserver

Using CLI:

docker create \
  --name=launchserver \
  -it -p 9274:9274 \
  -e TZ=Europe/Moscow `# Timezone` \
  -e PUID=1000 `# User ID` \
  -e PGID=1000 `# Group ID` \
  -v /host/path/to/launchserver:/app/launchserver `# Where conf will be stored` \
  --restart unless-stopped \
  ijo42/glauncher:latest

⁠Configuration

ConfigurationExplanation
Restart policy⁠"no", always, on-failure, unless-stopped
TZTimezone
PUIDfor UserID
PGIDfor GroupID

⁠User / Group Identifiers

When using volumes, permissions issues can arise between the host OS and the container. Linuxserver.io⁠ avoids this issue by allowing you to specify the user PUID and group PGID.

Ensure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.

In this instance PUID=1000 and PGID=1000, to find yours use id user as below:

  $ id $(whoami)
    uid=1000(dockeruser) gid=1000(dockergroup) groups=1000(dockergroup)

⁠Building the image yourself

Use the Dockerfile⁠ to build the image yourself, in case you want to make any changes to it

docker-compose.yml:

version: '2'
services:
  launchserver:
    container_name: launchserver
    build:
        context: ./GLauncherDockered
        args:
        - LAUNCHER_VERSION=a4355d1d
        - RUNTIME_VERSION=aa6fe1a8
    restart: unless-stopped
    volumes:
      - /host/path/to/launchserver:/app/launchserver
    environment:
      - TZ=Europe/Moscow # Timezone
      - PUID=1000  # User ID
      - PGID=1000  # Group ID
  1. Clone the repository: git clone https://github.com/ijo42/GLauncherDockered.git
  2. Prepare docker-compose.yml file as seen above
  3. docker-compose up -d --build launchserver
  4. ???
  5. Profit!

Tag summary

Content type

Image

Digest

sha256:47549b779…

Size

460.8 MB

Last updated

4 months ago

docker pull ijo42/glauncher