1
0
forked from 0ad/0ad
0ad/build/jenkins/dockerfiles/build-base.Dockerfile
bb 157c6af18e Make the space in 0 A.D. non-breaking throughout the codebase.
Avoid cases of filenames
Update years in terms and other legal(ish) documents
Don't update years in license headers, since change is not meaningful

Will add linter rule in seperate commit

Happy recompiling everyone!

Original Patch By: Nescio
Comment By: Gallaecio
Differential Revision: D2620
This was SVN commit r27786.
2023-07-27 20:54:46 +00:00

47 lines
1.0 KiB
Docker

FROM debian:buster
RUN useradd -ms /bin/bash --uid 1006 builder
# 0 A.D. dependencies.
ARG DEBIAN_FRONTEND=noninteractive
ARG DEBCONF_NOWARNINGS="yes"
RUN apt-get -qqy update && apt-get install -qqy \
cmake \
curl \
libboost-dev \
libboost-filesystem-dev \
libcurl4-gnutls-dev \
libenet-dev \
libfmt-dev \
libfreetype6-dev \
libgloox-dev \
libgnutls28-dev \
libgtk-3-dev \
libicu-dev \
libidn11-dev \
libjson-perl \
libminiupnpc-dev \
libogg-dev \
libopenal-dev \
libpng-dev \
libsdl2-dev \
libsodium-dev \
libvorbis-dev \
libwxgtk3.0-dev \
libxcursor-dev \
libxml-simple-perl \
libxml2-dev \
m4 \
python3-dev \
python3-pip \
zlib1g-dev \
&& apt-get clean
# Install rust and Cargo via rustup
USER builder
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH="${PATH}:/home/builder/.cargo/bin"
USER root
ENV SHELL /bin/bash