File tree Expand file tree Collapse file tree 2 files changed +25
-0
lines changed
Expand file tree Collapse file tree 2 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -55,6 +55,12 @@ wget https://raw.githubusercontent.com/NamesMT/images-alpine/main/scripts/instal
5555You can call ` sh ~/alpine.docker.service.sh ` to start the docker service,
5656And call ` sh ~/alpine.docker.service.sh stop ` to stop the docker service.
5757
58+ ##### Install [ sgerrand/alpine-pkg-glibc] ( https://github.com/sgerrand/alpine-pkg-glibc )
59+ This package will help you in cases where an app requires glibc and ` gcompat ` doesn't work, like ` Miniconda ` , glibc ` bun ` .
60+ ``` sh
61+ wget https://raw.githubusercontent.com/NamesMT/images-alpine/main/scripts/install-glibc.sh -O- | sh
62+ ```
63+
5864---
5965
6066### Build:
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ # List of packages to remove
6+ echo " Removing existing glibc and glibc-bin..."
7+ packages_to_remove=" glibc glibc-bin"
8+
9+ for package in $packages_to_remove ; do
10+ if apk info -e " $package " ; then
11+ echo " $package found, removing..."
12+ apk del " $package "
13+ fi
14+ done
15+
16+ cd /tmp
17+ wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r1/glibc-2.35-r1.apk
18+ wget https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.35-r1/glibc-bin-2.35-r1.apk
19+ apk add --no-cache --allow-untrusted --force-overwrite bash glibc-2.35-r1.apk glibc-bin-2.35-r1.apk
You can’t perform that action at this time.
0 commit comments