Questions tagged [alpine-linux]

Alpine Linux is a distribution for small, secure systems, based on busybox and musl

Filter by
Sorted by
Tagged with
0
votes
0answers
6 views

How to install Alpine Linux on disk on a VPS?

I successfully mounted an ISO image of Alpine Linux on my Hetzner VPS. I conveniently run setup-interface to get internet access, and setup-sshd to configure my ssh access. All running smoothly ! ...
1
vote
0answers
32 views

Installing Java 6 on Alpine

I need to install Java 6 (preferably OpenJDK vs Oracle) in Alpine docker (latest) and I can't find an Alpine repository containing it. Any ideas?
1
vote
0answers
26 views

Alpine Linux apk continues to install despite pre-install failure

The documentation for the Alpine package says the following of the pre-install script: Note the exit 0 at the end. If the script exits with failure (if the user already exist), the package will not ...
1
vote
1answer
22 views

Alpine Linux: See errors from apk add/del

apk add/del is reporting errors after any operation. It's always 2 errors. For example (coreutils is already installed): $ sudo apk add -vv coreutils After this operation, 0 KiB of additional disk ...
1
vote
1answer
50 views

Automatic yes to prompts when installing package on Alpine Linux

I'd like to know if apk add is capable of automatically assuming yes to any prompts when installing a new package on Alpine Linux? I'm familiar with running something like apt-get install -y curl on ...
0
votes
0answers
13 views

Alpine package for specific processor

I have an embedded project where I use an alpine based docker image to build binaries for micro controllers. These micro controllers have different architectures as well as processors. E.g. armhf ...
0
votes
1answer
25 views

Packages installation and files not saved on Alpine VM after reboot

I want to create some Alpine VMs in VirtualBox. To do so, I first downloaded both the Standard and the Virtual versions (see https://alpinelinux.org/downloads/), and then I created two vdi from their ...
1
vote
1answer
23 views

Trouble creating Alpine package

I'm trying to create an .apk file. I read a number of tutorials about it, and tried to follow them as best as I could, I have APKBUILD file, I have the sample-version.tar.gz, have the checksum. But ...
-1
votes
1answer
41 views

Using BLAS in Alpine Linux

I am running Alpine Linux inside Termux using proot. I installed gcc, libc-dev and openblas, and tried to compile a C program requiring cblas.h. But it gives the following error. /usr/lib/gcc/armv6-...
2
votes
1answer
38 views

How do I make my computer ask before shutting down instantly?

I've just installed Alpine Linux with XFCE and I really like it, though one thing makes it nearly unusable for me. That's the fact that when I press the power button it immediately shuts off with no ...
0
votes
1answer
23 views

WMIC query construction differences in Linux

This wmic query (NODE, USER, PASS all desensitised)... wmic /NODE:10.00.00.1 /LOCALE:MS_409 /PRIVILEGES:ENABLE /TRACE:OFF /INTERACTIVE:OFF /FAILFAST:OFF /USER:domain\my_user /PASSWORD:myPass! /OUTPUT:...
3
votes
1answer
73 views

Why are files missing in the first Docker exec but available in the second?

This is a very weird situation. We run an alpine-based docker container on Travis CI. Then we run ls as follows: docker exec $CONTAINER_NAME ls -la specific/directory docker exec $CONTAINER_NAME ls -...
1
vote
1answer
44 views

~ in $PATH variable ignores root folder

I'm using Alpine Linux in a container. I have ENV PATH="~/.local/bin:$PATH" \ in my Dockerfile When logging into the shell I can successfully ls ~/.local/bin which is the same as ls /root/.local/bin, ...
0
votes
0answers
13 views

Identifying native package architecture post installation

I'm working on a project trying to identify components installed on a linux distribution (for instance Alpine) using built in package managers. bash-5.0# apk list usl-1.1.22-r3 x86_64 {musl} (MIT) ...
0
votes
0answers
39 views

How to list all the dependencies inside an apk virtual package name?

deps added to a virtual package: apk add --no-cache --virtual .build-deps gcc make libc-dev How can I list them? apk list gives garbage. apk list .build-deps WARNING: Ignoring APKINDEX.00740ba1....
0
votes
1answer
43 views

Make Error installing radare2 on alpine linux

I'm running an alpine linux box, and am trying to install radare2. I downloaded the git repo, then ran the install.sh script. It seems to run fine until running into an error: In file included from ...
0
votes
1answer
76 views

InstantWP Alpine Linux - repository tag for world dependency 'apk-tools@edge' does not exist

I am using InstantWP which installs a virtual server running Alpine Linux. InstantWP is for running a local version of Wordpress. It has MariaDB 10.1 installed, which isn't the latest version of ...
0
votes
0answers
29 views

prepare aarch64 alpine image on x86-64 linux

My goal is to run a simple script on my linux x86-64 to create an pre configured alpine image for aarch64 (rpi3b+). I managed to do it quite successfully for a raspbian, using system-nspawn and qemu-...
0
votes
0answers
64 views

Compile clang-tidy under Alpine Linux

I'm trying to make a Docker image for a CI pipeline, that needs to contain clang-tidy among other tools. The problem is that I can't find any package containing clang-tidy on the Alpine repos, which ...
0
votes
1answer
71 views

How to find the value of a variable in ash?

I have a giant script that I'm attempting to debug, and in it it has the following construction: var "-p Some Parameter" || return 1 var "-p Other Parameter" || return 0 I want to know what it ...
1
vote
1answer
39 views

How to create alpine package without git?

If I already have all the files how do I package them up into an .apk file that I can later installed? Sort of an equivalent of fakeroot dpkg-deb -b package-dir package.deb, or something to achieve ...
0
votes
1answer
878 views

Can’t run docker containers in linux CentOS, how to fix it?

Can’t run docker containers in linux CentOS, how to fix it? [root@mycentos ~]# docker run alpine container_linux.go:235: starting container process caused "process_linux.go:258: applying cgroup ...
2
votes
2answers
290 views

logrotate with only size option does not rotate. This is inside Alpine docker container

I have below configuration for access logs cat /etc/logrotate.d/logrotate_nginx.conf /nginx/access/logs/*.log { rotate 2 size 1k missingok compress notifempty copytruncate } There is no ...
0
votes
1answer
89 views

does “Ignoring APKINDEX” mean the image does not install apk search command tool?

I am trying to use this docker image big-data-europe/docker-spark, based on "Alpine Linux v3.8" when I try to search sbt apk search sbt I got WARNING: Ignoring APKINDEX.adfa7ceb.tar.gz: No such ...
1
vote
1answer
207 views

wget content-disposition ubuntu vs alpine

In Ubuntu, I can use the following wget flag to get a debian, i.e., wget --content-disposition https://packagecloud.io/xxxxx/download.deb dpkg -i ... In Alpine, wget complains that --content-...
2
votes
1answer
44 views

How to prevent apk from overriding config files

So I've stumbled upon issue after issue every time I upgrade using apk upgrade that apk keeps on adding default config files without my consent, is there any way to have apk either never override/...
1
vote
0answers
194 views

Cannot mix incompatible Qt library (version 0x50c03) with this library (version 0x50c00)

I use alpine-php fpm docker container for developing and deploying a php application. I want to use wkhtmltopdf for generating pdfs. I installed by using apk add wkhtmltopdf But when I run it I ...
1
vote
1answer
598 views

/bin/sh: /usr/bin/wkhtmltopdf: not found

I installed /bin/sh: wkhtmltopdf /usr/bin/ directory. However when I try to run the program by entering /usr/bin/wkhtmltopdf to shell I receive an error /bin/sh: /usr/bin/wkhtmltopdf: not found. It ...
0
votes
1answer
204 views

Alpine 3.9.4 update busybox 1.30.0

I am using latest stable version of alpine 3.9.4 image. this image comes with busybox -1.29.3-r10. I need to upgrade to busybox 1.30.0. apk upgrade busybox command not upgrading the package. What is ...
1
vote
1answer
47 views

Set DM on OpenRC

How do I set a display manager on an OpenRC system? I'm trying to use the Ly display manager. E.g. on a systemd distro I'd do $ sudo systemctl enable ly.service but how do I do it here?
1
vote
1answer
911 views

Installation of Firefox on Alpine Linux

I'm trying to install Firefox on Alpine Linux. I ran $ sudo apk add firefox And a few hundred MBs later, it installed. However, when I ran firefox, it crashed with symbol not found errors and ...
0
votes
1answer
303 views

Alpine linux, latest and greatest version of grep

I'm looking to install a version of grep in an Alpine Docker container thats a similar version to my host OS, v3.3. In hunting around online, I see the package is available for Alpine. However, on ...
0
votes
1answer
161 views

Install Alpine security updates only

Is there a way to install only security updates for Alpine Linux and its apk packages, skipping updates that don't fix security holes?
1
vote
1answer
111 views

Can I build openssh-portable source code in Alpine linux

For my projects I have to customize the openssh code and I am planning to build the openssh-portable(https://github.com/openssh/openssh-portable) source code in the Alpine linux. But I am getting the ...
0
votes
1answer
73 views

Why mount doesn't show full list of mounted files as appears in /etc/mtab and /proc/mounts [duplicate]

I created an alpine container with limited user. When I run mount it shows me the following mounted list: /home $ mount overlay on / type overlay (rw,relatime,lowerdir=/var/lib/docker/overlay2/l/...
3
votes
2answers
603 views

How to show details of error in Alpine apk

I use Alpine Linux 3.9.3 x86_64 when I issue: # apk upgrade the output is: 3 errors; 1973 MiB in 519 packages How can I get details about those 3 errors? I tried --verbose flag but result is same....
0
votes
1answer
275 views

How to install TeXLive on Alpine Linux?

Is it possible to install texlive with tlmgr utility (from tug.org)? same question for installing texmaker (or texstudio) latex editors from sources (rather than AppImage, flatpack or snap packages). ...
1
vote
1answer
215 views

How to make a fully bootable ISO from Alpine Linux Edge?

I would like to make an alpine installation iso which has the following attributes: During installation it has an answerfile so that the setup process (the setup script) takes those default inputs ...
2
votes
0answers
260 views

Alpine Linux Hangs During Boot at: “ successfully initialized wpa_supplicant”

I installed Alpine Linux on Intel Compute Stick with 32 Bit Atom Processor. After installation I followed the procedure laid out here for connecting to internet via wlan0 port: Connecting to a ...
2
votes
1answer
2k views

Alpine Linux apk add gives permission error

I'm trying to install packages in a docker image based on alpine. The host system is CentOS system, system-release: CentOS Linux release 7.6.1810 (Core). Here's what I do: # docker run -td alpine:3....
1
vote
0answers
183 views

alpine linux sys mode install on raspberry pi

I'm working with the armhf release of alpinelinux from https://www.alpinelinux.org/downloads/ on a raspberry pi 3b. I've installed a desktop extension card from https://www.newark.com/element14/pi-...
2
votes
1answer
2k views

Can't install openjdk8-jre in Docker Alpine Linux image

Alpine 3.7 and 3.9. apk add htop works fine. apk add openjdk8-jre hangs forever. Problem step: (25/36) Installing openjdk8-jre-lib (8.201.08-r0) usr/ (dir) usr/lib/ (dir) usr/lib/jvm/ (dir) usr/lib/...
1
vote
1answer
858 views

find: './proc/1/map_files': Permission denied

I am inside a docker container build atop of the image alpine:3.6 and I am trying to find if a directory exists. I get te error, find: './proc/1/map_files': Permission denied This is the commands I ...
0
votes
1answer
213 views

Alpine Linux--Wifi Not Working

I am running Alpine Linux from a custom ISO that I created using the extended profile as a base (following instructions Install packages into a custom Alpine Linux ISO? and https://wiki.alpinelinux....
0
votes
1answer
49 views

Alpine: persistent disk mounted to /media/sda even though fstab has /media/usb

I'm having some issues with Alpine Linux, running in "diskless" mode on ESXi. I have configured it following the instructions in the wiki. Here's the content of the fstab file: /dev/cdrom /media/...
0
votes
0answers
212 views

Tagging inteface traffic to VLAN in Linux based virtual router

I have alpine linux running on virutalbox which works as gateway for my other virtual instances resides on the virtualbox. technically alpine running as virtual router with ip forwarding and ...
0
votes
1answer
421 views

How to know the Bluetooth MAC address in Alpine Linux

I am deploying a docker in Raspberry Pi 3. Inside docker I need to know the MAC of Bluetooth device. Normally I would find that using hciconfig | grep "BD Address" | awk '{ print $3}' hciconfig ...
0
votes
1answer
274 views

Alpine Linux - can't build libtorrent, missing linux/netlink.h

I'm trying to compile libtorrent on Alpine Linux. autogen and configure work fine but after invoking make it fails with the following message: local_addr.cc:45:10: fatal error: linux/netlink.h: No ...
3
votes
2answers
525 views

Alpine version-sort

How to do sort -V in alpine linux? sort: unrecognized option: V BusyBox v1.28.4 (2018-12-06 15:13:21 UTC) multi-call binary. Usage: sort [-nrugMcszbdfiokt] [-o FILE] [-k start[.offset][opts][,end[....
1
vote
1answer
426 views

How to get the source code used to build the packages of the base alpine linux docker image?

Why I want to know this: Currently I use apt-get source to get the source code for all packages within my Debian based docker images to comply with the GPL when I distribute the docker images. Now ...