Sign inSign up

prantlf/alpine-glibc

By prantlf

•Updated almost 4 years ago

Alpine Linux with GNU C Library (glibc) for compatibility

Image
0

10K+

prantlf/alpine-glibc repository overview

⁠prantlf/alpine-glibc

Docker⁠ image: Alpine Linux with GNU C Library (glibc) for compatibility

prantlf/alpine-glibc

This image⁠ is supposed to serve as a base for small images (Alpine Linux⁠) which need to include tools built against GNU C Library (glibc)⁠. This image is built automatically on the top of the tag latest from the Alpine repository⁠, so that it is always based on the latest Alpine Linux⁠. The package alpine-pkg-glibc⁠ has to be updated from time to time by editing the Dockerfile and triggering a new build manually.

⁠Tags

⁠Install

docker pull prantlf/alpine-glibc
docker pull prantlf/alpine-glibc:3.14

⁠Use

You can create your own image based on this one by referring to it from your Dockerfile:

FROM prantlf/alpine-glibc:latest

The final image can use the English locale by setting the environment variable LANG to C.UTF-8 or en_US.UTF-8.

See the git-p4 Docker image repository⁠ for an example.

⁠Build, Test and Publish

The local image is built as alpine-glibc and pushed to the docker hub as prantlf/alpine-glibc:latest.

# Remove an old local image:
make clean
# Check the `Dockerfile`:
make lint
# Build a new local image:
make build
# Enter an interactive shell inside the created image:
make run
# Tag the local image for pushing:
make tag
# Login to the docker hub:
make login
# Push the local image to the docker hub:
make push

⁠License

Copyright (c) 2020-2021 Ferdinand Prantl

Licensed under the MIT license.

Tag summary

Content type

Image

Digest

sha256:bbd57e05e…

Size

5.6 MB

Last updated

almost 4 years ago

docker pull prantlf/alpine-glibc