docker: Allow CC and make command to be customised
[petitboot] / docker / Dockerfile.builder
1 # Image for compiling petitboot.
2
3 ARG DOCKER_FROM
4
5 FROM ${DOCKER_FROM}
6
7 ENV LANG C.UTF-8
8 ENV LC_ALL C.UTF-8
9
10 RUN apt-get update && apt-get install -y \
11         apt-utils \
12         autoconf \
13         autopoint \
14         bison \
15         clang \
16         clang-tools \
17         flex \
18         gettext \
19         gcc \
20         git \
21         libtool \
22         libdevmapper-dev \
23         libfdt-dev \
24         libgpgme11-dev \
25         libncurses-dev \
26         libssl-dev \
27         libuv-dev \
28         pkg-config \
29         strace \
30         && rm -rf /var/lib/apt/lists/*
31
32 CMD /bin/bash