mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-11-10 05:07:26 +01:00
commit
b2b77f080a
@ -15,6 +15,7 @@ Features
|
||||
* Commands in the container are run as the calling user, so that any created files have the expected ownership, (i.e. not root).
|
||||
* Make variables (`CC`, `LD` etc) are set to point to the appropriate tools in the container.
|
||||
* Recent `CMake <https://cmake.org>`_ and ninja are precompiled.
|
||||
* `Conan.io <https://www.conan.io>`_ can be used as a package manager.
|
||||
* Toolchain files configured for CMake.
|
||||
* Current directory is mounted as the container's workdir, ``/work``.
|
||||
* Works with the `Docker for Mac <https://docs.docker.com/docker-for-mac/>`_ and `Docker for Windows <https://docs.docker.com/docker-for-windows/>`_.
|
||||
|
@ -20,6 +20,7 @@ RUN apt-get update && apt-get install \
|
||||
pkg-config \
|
||||
libtool \
|
||||
python \
|
||||
python-pip \
|
||||
rsync \
|
||||
sed \
|
||||
bison \
|
||||
|
@ -26,6 +26,8 @@ RUN \
|
||||
-python $([ -e /opt/python/cp35-cp35m/bin/python ] && echo "/opt/python/cp35-cp35m/bin/python" || echo "python") && \
|
||||
rm /dockcross/install-ninja.sh
|
||||
|
||||
RUN pip install conan
|
||||
|
||||
RUN echo "root:root" | chpasswd
|
||||
WORKDIR /work
|
||||
ENTRYPOINT ["/dockcross/entrypoint.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user