NyaMisty / AltServer-Linux

AltServer for AltStore, but on-device
GNU Affero General Public License v3.0
946 stars 73 forks source link

Running AltServer-Linux in Docker Container #69

Open Staubgeborener opened 1 year ago

Staubgeborener commented 1 year ago

Does anyone have a working docker-compose file or Dockerfile to run AltServer-Linux in Docker? My server is a manjaro system and i have huge problems with those dependencies. So i just want to do everything in Docker (maybe Debian).

So what i did so far is this Dockerfile:

FROM debian:buster-slim

RUN apt-get update && \
    apt-get install -y \
      apk \
      add \
      zsh \
      git \
      curl \
      wget \
      g++ \
      clang \
      boost-static \
      ninja \
      boost-dev \
      cmake \
      make \
      sudo \
      bash \
      vim \
      libressl-dev \
      util-linux-dev \
      zlib-dev \
      zlib-static \
    && apt-get clean

RUN git clone --recursive https://github.com/NyaMisty/AltServer-Linux

which runs into this error

[...]
Package ninja is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Unable to locate package apk
E: Unable to locate package add
E: Unable to locate package boost-static
E: Package 'ninja' has no installation candidate
E: Unable to locate package boost-dev
E: Unable to locate package libressl-dev
E: Unable to locate package util-linux-dev
E: Unable to locate package zlib-dev
E: Unable to locate package zlib-static

I'm really despairing right now, does anyone have a working way to get this run step by step in Docker?

iEmulate commented 1 year ago

Debian uses ninja-build It also appears you are trying to use alpine related libraries?

enzofrnt commented 1 year ago

any news ?

Staubgeborener commented 1 year ago

@PIORIGIN i will release a dockerfile in the next few days

enzofrnt commented 1 year ago

Ho, nice if you need someone to try, i can.

bonny1992 commented 1 year ago

Heya @Staubgeborener can you tag me when it happens? Thanks!

hkfuertes commented 1 year ago

Maybe this helps... https://github.com/hkfuertes/altserverd

webepg commented 1 year ago

@Staubgeborener

Any news on your topic?

Staubgeborener commented 1 year ago

@Staubgeborener

Any news on your topic?

There are already dockerfiles and docker-compose files on GitHub related to this topic

webepg commented 1 year ago

I couldn't find any working one, also they are not ARM64 capable.