Skip to content

Commit

Permalink
docker: Use a single layer for all apt packages
Browse files Browse the repository at this point in the history
  • Loading branch information
arichardson committed Sep 7, 2021
1 parent 8ec12d8 commit 3d04b6b
Showing 1 changed file with 6 additions and 15 deletions.
21 changes: 6 additions & 15 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,15 @@ RUN apt-get update && apt-get install -y \
samba \
telnet \
texlive-base \
texinfo

# RUN git config --global http.sslVerify false
# RUN cd /tmp && git clone https://github.com/arichardson/bmake && cd bmake \
# && ./configure --with-default-sys-path=/usr/local/share/mk --with-machine=amd64 --without-meta --without-filemon --prefix=/usr/local \
# && sh ./make-bootstrap.sh && make install && rm -rf /tmp/bmake
texinfo \
libtool pkg-config autotools-dev automake autoconf \
libarchive-dev libglib2.0-dev libpixman-1-dev \
bison groff-base flex \
cmake \
clang-12 lld-12

COPY cheribuild.json /root/.config/cheribuild.json

# deps to build QEMU+elftoolchain:
RUN apt-get update && apt-get install -y \
libtool pkg-config autotools-dev automake autoconf libglib2.0-dev libpixman-1-dev \
bison groff-base libarchive-dev flex

RUN apt-get update && apt-get install -y cmake

RUN apt-get install -y clang-12 lld-12

VOLUME ["/cheribuild", "/source", "/build", "/output"]
ENV PATH /cheribuild:$PATH
CMD bash

0 comments on commit 3d04b6b

Please sign in to comment.