Skip to content

Tag: alpine-linux

Deploy SkiaSharp on a container running .NET 6 Alpine Linux

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

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

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: 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: 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

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