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].

The Alpine Linux distribution is born from a fork of another Linux project called LEAF (Linux Embedded Appliance Framework Project) that was itself forked from a project aimed at keeping a Linux distribution fitting on a floppy disk.

With its light-weighted approach, Alpine is very popular for embedded systems and containers alike, as it also offers quick boot-up time. A container running Alpine would take no more than 8 MB; while an installation on a disk would require around 130 MB.

This small size is also achieved with simplicity in mind. Alpine uses its own package manager, called apk and is coming with a really limited set of tools:

  • musl, for a minimal libc
  • openrc, as the init system
  • the coreutils of busybox

Alpine is making use of techniques like Position Independent Executables (PIE) and stack smashing protection, which protects the OS from some common vulnerabilities.

Resources

Related tags

1772 questions
0
votes
1 answer

Minimal SciPy Dockerfile

I have a Dockerfile like the following, app code is omitted: FROM python:3 # Binary dependencies RUN apt update && apt install -y gfortran libopenblas-dev liblapack-dev # Wanted Python packages RUN python3 -m pip install mysqlclient numpy scipy…
AivanF.
  • 1,134
  • 2
  • 23
  • 52
0
votes
1 answer

Openshift - Run a basic container with alpine, java and jmeter

In an Openshift environment (Kubernetes v1.18.3+47c0e71) I am trying to run a very basic container which will contain: Alpine (latest version) JDK 1.8 Jmeter 5.3 I just want it to boot and run in a container, expecting connections to run Jmeter…
ElPiter
  • 4,046
  • 9
  • 51
  • 80
0
votes
1 answer

Why does my docker container executing a Golang executable hangs on right after launch?

I'am currently developing a small app with Golang on macOS and it works perfectly locally. I have made a docker image from a Dockerfile made from scratch. My issue is that when container is being launched it hangs indefinitely, docker does not bind…
0
votes
1 answer

NFS fileshare mount from inside an alpine based docker container running on AWS Fargate

I have a dockerised legacy JBOSS app deployed on AWS Fargate. There is an on-prem NFS file share with routing between the subnets enabled. Why can't I mount the NFS file share from inside the Docker container as I can from a regular linux…
Maxim Suponya
  • 1,419
  • 2
  • 20
  • 43
0
votes
1 answer

How to enable mongodb on php:7.2-fpm-alpine?

I am trying to enable mongodb on php:7.2-fpm-alpine, and I am not able to see the mongodb extension loaded in php.ini Here is some additional info: # mongo --version MongoDB shell version v3.4.4 git version:…
Owl
  • 61
  • 1
  • 7
0
votes
1 answer

Understanding of docker FILE

I am using nodejs 11 with alpine on my servers using FROM node:11-alpine line. so by this, i understand it uses nodejs 11 version but what about alpine version? I checked manually on the server it uses alpine version 3.9 but what if I want to change…
Nitzy
  • 264
  • 1
  • 9
0
votes
1 answer

/busybox/sh: eval: line 109: apk: not found while build_backend on GitLab

I try to pass build_backend stage before build_djangoapp with Dockerfile on GitLab, but it fails with this error. /busybox/sh: eval: line 111: apk: not found Cleaning up file based variables 00:01 ERROR: Job failed: exit code 127 GitLab CI/CD…
organicnz
  • 89
  • 1
  • 2
  • 19
0
votes
0 answers

What is the difference between alpine distribution of docker images and latest tag images?

I am learning Docker and I am confused as to what is the use of having latest tagged images when we can have alpine distribution images which make it easier to build smaller size custom images and which are themselves downloaded in very less time.…
KnockingHeads
  • 1,569
  • 1
  • 22
  • 42
0
votes
1 answer

running python aws upload script within Apline container using cron

I've made a python script that uploads the files into s3 bucket. I need the script to run periodically from within the docker container. #!/usr/local/bin/python3 import boto3 from botocore.errorfactory import ClientError import os import…
Yury Stanev
  • 37
  • 1
  • 10
0
votes
2 answers

Docker nodejs cannot open file

I have a docker container with nodejs in it. (node:14.11-alpine3.12) There is cron running, that executes .sh file with the command: node /home/parsecsv.js; Whenever cron executes this command, I get an error 'rror: Cannot find module…
0
votes
2 answers

Docker chrome selenium java openjdk:8 to Alpine

I have a Dockerfile that already works in openjdk:8 but I am trying to convert it to alpine. It is giving me some troubles. The application was made in Java and uses Selenium. This is my current code: FROM openjdk:8-jdk-alpine RUN apk update \ …
Linkavich14
  • 243
  • 1
  • 5
  • 15
0
votes
2 answers

Using Bazel java_proto_library on Alpine

Using the bazel alpine package, when trying to use the java_proto_library(), it will fails (while it works on archlinux, centos, fedora, debian, opensuse, ubuntu) WORKSPACE: load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") #…
Mizux
  • 8,222
  • 7
  • 32
  • 48
0
votes
0 answers

Why does my aws-cli build work on the intermediate container during buildtime, but not on the final container?

I've been trying to put aws-cli on an Alpine based docker image I have. I found someone's tips for including the appropriate libraries for glibc here and I was able to make things run smoothly on my docker build. If I call the aws executable in the…
BumbleShrimp
  • 2,150
  • 23
  • 42
0
votes
1 answer

running windows base application embedded in ubuntu or alpine based docker image

We developed Windows based application and try to convert it to run as docker in Linux base environment. Unfortunately, one of 3rd party library can't be convert to Linux environment. We built docker image which is ubuntu 16.04 + wine 4.0 +…
yes
  • 1
  • 3
0
votes
0 answers

Using docker in docker from node:alpine image

I'm currently trying to reduce the docker image size for my project and I started to do so by using the node:alpine image. I've started to run into a problem however, where I can't perform any docker commands from within the initial docker…
Erik Pohle
  • 1
  • 1
  • 1
1 2 3
99
100