Nils Freydank's base alpine image for glibc based applications https://git.holgersson.xyz/dockerfiles/alpine-glibc-x86_64-docker
  • Dockerfile 100%
Find a file
2020-04-29 09:20:00 +02:00
.gitignore Initial commit 2020-04-29 09:20:00 +02:00
COPYING-MIT Initial commit 2020-04-29 09:20:00 +02:00
Dockerfile Initial commit 2020-04-29 09:20:00 +02:00
README.rst Initial commit 2020-04-29 09:20:00 +02:00

alpine-x86_64-glibc
===================

This repository contains a dockerfile to add a `pre-built glibc`_ to an
otherwise emtpy alpine container. This is necessary for some software
that is shipped precompiled and linked against glibc only. `Alpine Linux`_
itself uses the much smaller and faster `musl libc`_ (which is also considered
often as a more secure replacement for the glibc).

Usage
-----

To use this image you need the base alpine image (either from a registry, then
you need to edit the Dockerfile, or -- preferred -- self-build as alpine-x86_64)
and podman or docker installed. Then simply build the image based on the
dockerfile:

.. code:: shell

   podman build . -t alpine-glibc-x86_64:3.11.6_2.31-r0

The tag is a suggestion to include both the alpine and the glibc version.

Author and Copying
------------------

This repository is authored by `Nils Freydank`_. You can use, modify and
share this code under the terms of the MIT license (see the file
COPYING-MIT for details).

.. links

.. _`pre-built glibc`: https://github.com/sgerrand/alpine-pkg-glibc/releases
.. _`Alpine Linux`: https://alpinelinux.org/about/
.. _`musl libc`: https://musl.libc.org/
.. _`podman`: https://github.com/containers/libpod
.. _`Nils Freydank`: mailto:nils+container@holgersson.xyz?Subject:\ alpine\ podman