How to load a C librairy in Gitpod?

  c#, debian, dockerfile, gitpod, json

I’ve tried to launch a new workspace with a specific librairy :

https://packages.debian.org/fr/sid/libdevel/libjansson-dev

running the below command

gp init

and putting

RUN apt-get update && apt-get install -y libjansson-dev 

in the Dockerfile.

But the workspace failed.

Error: build failed: cannot build base image: The command '/bin/sh -c RUN apt-get update && apt-get install -y libjansson-dev' returned a non-zero code: 127

I guess I’m doing something wrong.

Many thanks for your help

Source: Dockerfile Questions

LEAVE A COMMENT