static-cross-bins/Dockerfile
Timmy Welch 98668355af Updates
2025-03-02 23:14:26 -08:00

25 lines
791 B
Docker

# Despite convention, Ubuntu's "latest" tag points to the latest LTS release.
FROM ubuntu:latest
LABEL org.opencontainers.image.authors="llamasoft@rm-rf.email"
LABEL org.opencontainers.image.url="https://github.com/llamasoft/static-builder"
# This is all that's required for the build process.
# Some packages are already installed but are included for completeness.
RUN apt-get update && apt-get upgrade -y \
&& apt-get install -y \
gcc g++ \
make autoconf automake libtool patch \
flex bison \
curl \
tar gzip bzip2 xz-utils cmake build-essential pkg-config linux-headers-generic
RUN mkdir -p "/build" && chown 1000:1000 /build
COPY "Makefile" "/build/"
COPY "include" "/build/include"
VOLUME "/build"
WORKDIR "/build"
USER 1000
ENTRYPOINT ["/usr/bin/make", "-w"]