decker-edu / decker

A markdown based tool for slide deck creation.
GNU General Public License v3.0
53 stars 13 forks source link

Dockerfile Gitlab Permission Issue #96

Open MatthiasPopp opened 7 months ago

MatthiasPopp commented 7 months ago

Hey everyone,

I am trying to get the decker v0.13.4 container running in a CI pipeline. There is a problem though.

While running the container on a local docker engine (v24.0.6) it does work, but when running on a gitlab runner it produces the following error message:

$ decker html
decker: internal error: Itimer: Failed to spawn thread: Operation not permitted
    (GHC version 9.2.5 for x86_64_unknown_linux)
    Please report this as a GHC bug:  https://www.haskell.org/ghc/reportabug
/usr/bin/bash: line 130:    14 Aborted                 (core dumped) decker html
Cleaning up project directory and file based variables 00:00
ERROR: Job failed: exit code 1

Do you have similar issues?

I ruled out default permission issues. Here is the log file: gitlab-ci-output-decker-v0.13.4.log

I adapted the config file slightly. First I added libtinfo-dev and libncurses5-dev as compile dependencies, bumped the ubuntu base version to mantic and added git-lfs to the container. Feel free to have a look: Dockerfile.txt

Best regards, Matthias

salbeira commented 2 days ago

Can you clarify how and why you are using docker to build and deploy decker in / with docker? We are working through the issues right now and are wondering how and why the Dockerfile is even in here, as none of us is using docker to decker ( 😄 )