SkiaSharp fails at runtime when deployed to an alpine linux container, using .NET 6.0 with the following error: System.TypeInitializationException: The type initializer for ‘SkiaSharp.SKImageInfo’ threw an exception. —> System.DllNotFoundException: Unable to load shared library ‘libSkiaSharp’ or one of its dependencies. In order to help diagnose loading problems, consider setting the LD_DEBUG environment variable: liblibSkiaSharp: cannot open shared object file: No
Tag: alpine-linux
Can’t install bash in multiarch build on Alpine
I am trying to build image for linux/arm64/v8 on linux/amd64 Gitlab runner. I run it with this command: My Dockerfile is fairly simple: But it fails with: It’s Gitlab runner version 13.4.1 and Docker executor docker:stable. What can I do about this issue? Answer There were three problems with my approach: I needed to install buildx extension I had to
error: ‘res_ninit’ was not declared in this scope; did you mean ‘res_init’?
I am trying to install an application from its source code in the alpine it says there is no res_ninit, res_nsearch and res_nclose but we can see here that do exists in the Linux headers and I have already installed apk add linux-headers, how can I resolve this issue? Update: I cat the header file /usr/include/resolv.h and we can see
Any way to ensure that no more than x HTTP requests are sent to a certain site in Linux?
I am using Docker, base image is alpine. I have an application that sends HTTP GETs to a certain site but I have a limitation, after 50 requests I have to pay some amount per request and I want to avoid that. I will also impose some sort of hard stop from the application code but I wanted to know
Open pdf file created in a docker container(Alpine)
I am trying to open pdf file that I created inside a Docker container. I tried using xdg-open and Firefox but I’m getting the following errors: I don’t know what to do. Please help. Answer Copy the pdf out of the alpine container with docker cp alpine:/path/to/pdf . and open it on the host.
How do I install a SQL Server Java driver into a linux docker container?
The docker image definition below does not contain according to the documentation a SQL Server driver. How can I install it? Documentation: https://github.com/camunda/docker-camunda-bpm-platform Docker File Answer I was able to make it work after several days. Steps Download JDBC Driver from Microsoft Site, Version 7.2, it will include 2 JAR FILES Uncompress, and copy the file into your docker folder
How to install libvips on Alpine 3.8?
I try to install vips-dev package to alpine linux 3.8. But get following error: How to solve it? Answer This is a known packaging issue of vips-dev on edge/testing: https://bugs.alpinelinux.org/issues/9561 As a workaround, make sure to add both edge/main and edge/testing repositories to your apk command: Update, 30/5/19: vips-dev has moved from the edge/testing branch to edge/community, and updated to
Is alpine distribution food for big scale apps?
While studying and learning Docker, I’ve read a lot about linux distributions and I always read positive comments in Alpine because of it being lightweight but what are the disadvantages of using lightweight? I’m guessing that because it’s lightweight, it also has a disadvantage when it comes to scaling.. Also, what can be the advantage of a lightweight distribution compare
Script takes parameters from the previous run
I am using docker container that runs Alpine Linux.It runs some bash script async The first time it runs it seems it does nothing it should write to some database but when I run it second time It does work but it use parameters from the previous run i.e param1 and param2. Without &>/dev/null &disown it works fine from the
Can’t install aiohttp==2.0.6 on Alpine Linux v3.5
I’m using a fresh install of Alpine Linux v3.5 with edge/main repos These are the commands I’m running: And that’s the error that I’m getting from the last command: On the ArchLinux host, however, everything installs correctly Answer I’ve been having the same problem. I removed in my requirements.txt the version name and it worked. I checked the version than