Skip to content

Latest commit

 

History

History
20 lines (17 loc) · 777 Bytes

README.md

File metadata and controls

20 lines (17 loc) · 777 Bytes

alpine-patchelf

From the patchelf repository:

PatchELF is a simple utility for modifing existing ELF executables and libraries.

This repository contains binary releases for use in Alpine Linux.
Its intention is to make it easier to pull in the utility for use in Docker containers.

The binary package is available here:
https://github.com/strothj/alpine-patchelf/releases

Usage Example

FROM alpine:3.3
RUN apk add --no-cache ca-certificates libstdc++ && \
    wget https://github.com/strothj/alpine-patchelf/releases/download/0.9/0.9.tar.gz && \
    tar -C / -xzf 0.9.tar.gz && rm 0.9.tar.gz && \
    patchelf --version && \
    rm -rf /usr/bin/patchelf /usr/share/doc/patchelf /usr/share/man/man1/patchelf.*