Questions tagged [alpine-linux]
Alpine Linux is a small, simple and secure Linux distribution based on musl libc and busybox. For questions related to the Alpine.js framework, use the tag [alpine.js].
1,708
questions
0
votes
0
answers
3
views
apk update error when i login as user , works with root login
I am behind a corporate proxy http://proxy_ip:port ,
getting below error while using apk update command as user
ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.17/main/: temporary error (try again ...
0
votes
0
answers
10
views
unable to select packages update (no such package required by: world[update]
I am new to Docker, I am just starting to learn Docker.
--- Docker file ---
# use an existing docker image as a base
FROM alpine
# download and install dependency
RUN apk add -- update redis
# tell ...
0
votes
1
answer
60
views
SSH Connection issue from gitlab alpine runner
I'm facing a problem with gitlab ci.
I have a deploy stage that is supposed to contact my VPS with ssh and asking my gitlab registry.
The problem is while y try to authenticate my alpine runner to my ...
1
vote
0
answers
26
views
alpine linux apache2 /var/www/modules/apr_dbd_mysql.so: my_init: symbol not found
I am using docker to build an image for my PHP website. The base image is phpswoole/swoole:4.8-php7.3-alpine. (alpine 3.13)
Here is the dockerfile commands for installing apache2 and dependencies.
apk ...
0
votes
0
answers
30
views
Is it possible to compile a source with glibc on Alpine? [closed]
I want to compile the Godot Engine
https://docs.godotengine.org/en/3.6/development/compiling/compiling_for_x11.html#doc-compiling-for-x11
The suggested command is outdated for the Alpine Linux ...
-2
votes
0
answers
24
views
How install SDKMAN in a Alpine docker container?
I created a image using Dockerfile :
FROM alpine:3.17
WORKDIR /app
COPY Dockerfile /app
EXPOSE 8080
EXPOSE 4200
docker build -t java-alpine .
I created a container :
docker run -it --name jalpine --...
-3
votes
0
answers
17
views
Alpine Linux not showing incoming UDP connections [closed]
I have been trying to make a UDP server work on Alpine Linux but it dosent seem to be listening any incoming UDP connections.
If I run
blaster:~# nc -u localhost 48772
netstat -u shows that there is ...
-1
votes
0
answers
26
views
Unable to compile OpenCilk on Alpine Linux
I am unable to compile on Alpine Linux as it uses Musl instead of GlibC and this causes linking of backtrace symbols to fail.
Is there a way to turn off use of backtrace in opencilk or can you please ...
-2
votes
0
answers
38
views
Can Alpine Linux install postgresql 11.18 or can it only install up to 11.11? [closed]
I am looking to boot up a ruby on rails container using docker compose. The ruby image that my application uses is an old one by today's standards. The image is the following:
ruby:2.6.5-alpine3.9
My ...
0
votes
1
answer
31
views
Docker image build error: shell script file is copied in the workdir but it says the file is not found
I am trying to dockerize a legacy java project using alpine.
My machine is running on Windows 10 and I am using Docker Desktop for Windows.
Here is my Dockerfile:
FROM openjdk:8u171-jdk-alpine
RUN apk ...
1
vote
1
answer
22
views
The whole list of the array from store isn't rendered
Why the whole list of the array from store isn't rendered, I get only the title in the div, but not getting the country, price, etc, from the store.
https://codesandbox.io/s/html-template-forked-...
1
vote
0
answers
48
views
Enable TLSv1.1 on httpd 2.4.56 running on Docker
I am trying to modernize the infrastructure of a HTTP web service. I want to update the web server to something more recent and secure, but I have to maintain compatibility with some legacy devices in ...
0
votes
1
answer
24
views
Binaries from first stage aren't picked up in second stage (Docker multi-stage builds)
There is an image, confluentinc/ksqldb-cli, I want to augment with a library (https://github.com/wolfcw/libfaketime).
Since this image confluentinc/ksqldb-cli is very bare, it doesn't contain any ...
0
votes
0
answers
77
views
unable to install confluent-kafka python module on alpine 3.13.5
I am trying to install confluent-kafka on a alpine-3.13.5. Basically i am trying the same in docker in docker - https://hub.docker.com/_/docker as part of my gitlab runner.
This is how my .gitlab-ci....
0
votes
1
answer
48
views
exec /app/backendApp: no such file or directory in docker container
I have a microservices base architecture but the container deploy successfully but its not started.
Below is the dockerfile.
FROM alpine:latest
RUN mkdir /app
WORKDIR /app
COPY backendApp /app
...
1
vote
1
answer
53
views
Ignite Server pod unable to acquire lock to file
I am debugging an issue with one of our Ignite servers which was running in Kubernetes for some months without issue.
Client nodes started failing to come up as as they were failing a readiness probe ...
0
votes
0
answers
84
views
x509: certificate signed by unknown authority Docker postgres:alpine
I am using a self-signed certificate.
I upload a container image with postgres:alpine to gitlab and build it, then on my local VM I want to run docker-compose but it throws a 509 error. What should I ...
-2
votes
2
answers
80
views
Installing fluent-bit in Alpine docker image
How can I add fluent-bit to an image that builds on docker:latest?
I have tried this:
FROM docker:latest
RUN apk add python3 py-pip python3-dev libffi-dev openssl-dev gcc libc-dev make curl libc6-...
-2
votes
2
answers
89
views
Docker alpine: ffprobe not found, despite installing ffmpeg with apk in Dockerfile
I have a Go program that executes ffmpeg and ffprobe commands, so I need to install them in my Docker container.
Here is my Dockerfile:
FROM golang:1.17.7-alpine
WORKDIR /src
COPY go.mod go.sum ./
...
-1
votes
1
answer
82
views
How to install gss-ntlmssp with yum?
We have the requirement to install gss-ntlmssp using yum .I also tried to insatll the prerequisites as mentioned in the online channel but it does not help out either .
I tried to run the command :
...
1
vote
0
answers
39
views
cannot find -llapack and -lblas on Alpine Linux
I'm trying to install the cvxopt library on Alpine Linux, which is required library for pm4py.
My docker file adds:
apk add --no-cache \
gfortran \
cmake \
python3 \
py3-scipy \
py3-numpy \
...
0
votes
1
answer
95
views
How to get Playwright browser tests running on Alpine Docker container?
The Java drivers that come with Playwright don't work with Alpine, because they don't use statically linked MUSL builds.
0
votes
2
answers
308
views
php:8.1-fpm-alpine: how to install openssl, pdo_mysql, mbstring and mcrypt
I'm trying to upgrade an Alpine image from PHP 7.4 to PHP 8.1.
This is the Dockerfile:
FROM php:8.1-fpm-alpine
RUN apk update && \
apk add bash build-base gcc wget git autoconf libmcrypt-...
0
votes
0
answers
82
views
Unable to load dynamic library 'swoole'
I am trying to run laravel octane based image in php 8.1 image. but I am constantly getting an error of extension swoole.so not found
swoole.so is already there in desired location and php artisan ...
3
votes
1
answer
68
views
params.permit undefined method `=~' for Active::Record after ruby3.2.1 update
recently I updated from ruby3.1.2-alpine3.15 -> ruby3.2.1-alpine3.17, the only gem update I did was mysql2, from 0.5.3 to 0.5.5 to support openssql3. And folow Ruby3.2.0 Breaking Changes and add ...
0
votes
0
answers
20
views
Send image from client to server [ Nodejs / JS / Ejs ]
I'm trying to send an image from my web to my server.
Html/Ejs file:
<label>
<input id="boss_img" type="file" accept="image/png, image/svg+xml, image/gif" />...
0
votes
1
answer
44
views
how can install llvm11 in an apline image?
I am trying to install top2vec in an alpine docker image. however it is throwing error that did not find llvm-config.
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 132.8/132.8 kB 6.2 MB/s eta 0:00:00
...
0
votes
1
answer
45
views
valgrind ends without printing summary
I want to use valgrind to see if my program has memory errors.
I want to run the program on Alpine linux which has different standard c library (musl vs glibc).
Here is and example output on "...
0
votes
0
answers
113
views
Running cmake while building Docker alpine container, get error: "make: /usr/bin/make: Operation not permitted ... Error 127"
While attempting to update a Docker container for alpine:3.17, cmake reports the following when building the container from its Dockerfile:
[build 8/8] RUN cmake -DCMAKE_BUILD_TYPE=Release ../...
1
vote
1
answer
131
views
How to resolve "ERROR: Could not build wheels for matplotlib, which is required to install pyproject.toml-based projects" with Python 3.9.12?
I am encountering the following error when attempting to install matplotlib in an alpine Docker image:
error: Failed to download any of the following: ['http://www.qhull.org/download/qhull-2020-src-8....
0
votes
1
answer
42
views
Stencil's Puppeteer sometimes does not renders text or fonts
I'm trying to use Stencil e2e screenshot tests which have Puppeteer v10 under the hood.
I'm facing the problem with texts and fonts. Sometimes they are hidden and sometimes they appear as they should.
...
0
votes
0
answers
123
views
Github Action failing to Build Images for the plugins being used in workflow
I am trying to use a plugin in my eks based k8s cluster,
I am using a Github Action controller that spawns on demand Container as Self Hosted runner
When the Github action start this plugin or any ...
1
vote
0
answers
39
views
Adding curl to alpine image taking very long time
Am trying to add curl inside my docker container image (alpine type) but it is taking very long time. Tried multiple times more than 2 hr , 1hr but no luck it is still running. (posting a new question ...
0
votes
0
answers
35
views
node.js running inside k8s as non-root fails to download archive
My application does the following, inside a web server, when handling a request - all imports are plain default node modules (tar, stream, base64-stream etc.) except fs-extra, which is a wrapper ...
0
votes
0
answers
37
views
How to launch multiple processes on Debian: this code works on Alpine but not on Debian
On Heroku they suggest to use the below code to launch multiple processes on a container:
#!/bin/sh
set -e
# set -x
trap '' SIGTERM
puma -C config/puma.rb &
sidekiq &
wait -n
kill -...
0
votes
1
answer
98
views
Failed to install paramiko (Failed to build cffi) on Python-3.8-alpine docker container
I have the following Dockerfile I am trying to use to build an image :
FROM python:3.8-alpine
USER root
WORKDIR /dump_generator_api
COPY requirements.txt ./
RUN python3 -m pip install --upgrade ...
0
votes
1
answer
23
views
How to disable internet access to an app installed in an alpine based docker image?
I have the below Dockerfile based on alpine image.
As you can see I'm installing chromium to print pdfs.
I would like to disallow internet access to chromium for security reason and because I'm using ...
0
votes
1
answer
103
views
Linux Apline: restart nginx
I have Alpine Linux, 3.15.0 version on the server.
The installed nginx version is 1.21.6. I have performed apk update
nginx -t command successfully responds with
nginx: the configuration file /etc/...
0
votes
0
answers
52
views
MODULE_NOT_FOUND error - Not able to run the node js application with sqlite3 in the docker container
I facing this below error while running my nodejs-16 application using docker. I started facing this issue after I update my node from v14 to v16. I googled but couldn't understand.
Can someone throw ...
1
vote
0
answers
56
views
Kuberenetes 1.24 | Containerd | Allow to run devices inside the container without the --privileged flag?
recently we upgraded our Eks clusters (Aws Kubernetes service) to version 1.24.
One of our workloads at Kubernetes is a job which uses volumeDevices at his manifest the here is a job manifest example:
...
0
votes
1
answer
74
views
Azure App Service startuop command isn't working on a docker container
I'm using the Azure AppService version of WordPress. This version uses the wordpress-alpine-php docker image, running nginx version 1.20.2.
I need to run a startup script. I've followed all the ...
0
votes
1
answer
85
views
Redirecting nginx causes 'too many redirects' error
I need to redirect both www to non www and HTTP to HTTPS with nginx. I can get it to redirect but then I get a `too many redirects' error.
I'm using the Azure AppService version of WordPress. This ...
0
votes
0
answers
74
views
How do I do a 301 redirect with Azure Wordpress running Nginx?
I need to redirect HTTP to HTTPS, and www to non-www, with the Azure AppService version of Wordpress. This version uses the wordpress-alpine-php docker image, running nginx version 1.20.2.
I think I ...
0
votes
1
answer
81
views
Alpine Docker image with pandas installed on Pipenv
We need an alpine based docker image that can have pandas package within pipenv
This works.
FROM python:3-alpine
RUN apk add g++ && \
pip install numpy
But, our process needs the ...
-1
votes
1
answer
55
views
Docker enrtypiont not found on django app with alpine python
This is my Dockerfile:
FROM python:alpine3.17
# Keeps Python from generating .pyc files in the container
ENV PYTHONDONTWRITEBYTECODE=1
# Turns off buffering for easier container logging
ENV ...
0
votes
1
answer
42
views
Double ambersand operator in alpine not working as expected
The following script
#!/bin/sh -e
wget -q -O /etc/apk/keys/sgerrand.rsa.pub https://alpine-pkgs.sgerrand.com/sgerrand.rsa.pub
wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.32-...
0
votes
0
answers
40
views
openrc can't start service that crashed, leaves started symlink behind
This init script is for a node service that sometimes crashes. When it does the started file /var/run/openrc/started/mStream is left behind and this prevents openrc from starting the app because it ...
0
votes
1
answer
37
views
How can I execute a command inside a docker from a node app?
I have a node app running, and I need to access a command that lives in an alpine docker image.
Do I have to use exec inside of javascript?
How can I install latex on an alpine container and use it ...
0
votes
0
answers
236
views
C# SSL connection could not be established in alpine docker container with .net 6 python.net
I have a DLL that I made a while back for use in simplifying the sending of SOAP requests to one outdated API our company still uses today. The snippets below are from the C# source code of the DLL ...
2
votes
0
answers
132
views
How to use ssh-keyscan with golang:alpine Docker image?
I am trying to create a Dockerfile using golang:alpine image and ssh-keyscan command, but it is not working. If I use the golang image instead, it works as expected.
Works:
FROM golang
RUN mkdir -p -...