24 lines
678 B
Docker
24 lines
678 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 install -y \
|
|
gcc g++ \
|
|
make autoconf automake libtool patch \
|
|
flex bison \
|
|
wget \
|
|
tar gzip bzip2 xz-utils
|
|
|
|
RUN mkdir -p "/build"
|
|
COPY "Makefile" "/build/"
|
|
COPY "include" "/build/include"
|
|
VOLUME "/build"
|
|
|
|
WORKDIR "/build"
|
|
ENTRYPOINT ["/usr/bin/make", "-w"]
|