FROM ubuntu:20.04
# Work around for 16.04 host which has old docker version
# RUN sed -i -e 's/ { / /' -e 's/ };//' /etc/apt/apt.conf.d/docker-clean
RUN apt-get update
# Set noninteractive installation
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Australia/Brisbane
# Install Base Build Tools
RUN apt-get install -y make git python3
# Install Tools
RUN apt-get install -y cmake doxygen graphviz
# Install Linting Tools
RUN apt-get install -y clang clang-tidy clang-format lld llvm-13-linker-tools
# Install Build Tools
ADD osxcross.tar.bz2 ./
# Install Build Tool Dependancy
RUN apt-get install -y libxml2-dev
# Configure Environment Variables
ENV LD_LIBRARY_PATH="/osxcross/lib:${LD_LIBRARY_PATH}"
ENV PATH="/osxcross/bin:${PATH}"