mirror of
https://github.com/bensuperpc/dockcross.git
synced 2024-12-22 08:24:25 +01:00
commit
19dc7051ea
19
Dockerfile
19
Dockerfile
@ -7,6 +7,7 @@ RUN apt-get update && apt-get -y install \
|
||||
bash \
|
||||
build-essential \
|
||||
bzip2 \
|
||||
ca-certificates \
|
||||
curl \
|
||||
file \
|
||||
git \
|
||||
@ -22,24 +23,25 @@ RUN apt-get update && apt-get -y install \
|
||||
tar \
|
||||
vim \
|
||||
wget \
|
||||
xz-utils
|
||||
xz-utils && \
|
||||
apt-get -y clean
|
||||
|
||||
# Build and install CMake from source.
|
||||
WORKDIR /usr/src
|
||||
RUN git clone git://cmake.org/cmake.git CMake && \
|
||||
cd CMake && \
|
||||
git checkout v3.4.3
|
||||
RUN mkdir CMake-build
|
||||
WORKDIR /usr/src/CMake-build
|
||||
RUN /usr/src/CMake/bootstrap \
|
||||
git checkout v3.4.3 && \
|
||||
cd .. && mkdir CMake-build && \
|
||||
/usr/src/CMake/bootstrap \
|
||||
--parallel=$(nproc) \
|
||||
--prefix=/usr && \
|
||||
make -j$(nproc) && \
|
||||
./bin/cmake -DCMAKE_USE_SYSTEM_CURL:BOOL=ON \
|
||||
-DCMAKE_BUILD_TYPE:STRING=Release \
|
||||
-DCMAKE_USE_OPENSSL:BOOL=ON . && \
|
||||
make install && \
|
||||
rm -rf *
|
||||
WORKDIR /usr/src
|
||||
cd .. && \
|
||||
rm -rf CMake*
|
||||
|
||||
# Build and install Ninja from source
|
||||
RUN git clone https://github.com/martine/ninja.git && \
|
||||
@ -47,4 +49,5 @@ RUN git clone https://github.com/martine/ninja.git && \
|
||||
git checkout v1.6.0 && \
|
||||
python ./configure.py --bootstrap && \
|
||||
./ninja && \
|
||||
cp ./ninja /usr/bin/
|
||||
cp ./ninja /usr/bin/ && \
|
||||
cd .. && rm -rf ninja
|
||||
|
@ -1,4 +0,0 @@
|
||||
cross-compilers
|
||||
===============
|
||||
|
||||
Dockerfiles for cross compiling environments
|
14
README.rst
Normal file
14
README.rst
Normal file
@ -0,0 +1,14 @@
|
||||
cross-compilers
|
||||
===============
|
||||
Dockerfiles for cross compiling environments
|
||||
--------------------------------------------
|
||||
|
||||
.. image:: https://circleci.com/gh/thewtex/cross-compilers/tree/master.svg?style=svg
|
||||
:target: https://circleci.com/gh/thewtex/cross-compilers/tree/master
|
||||
|
||||
.. |base-images| image:: https://badge.imagelayers.io/thewtex/cross-compiler-base:latest.svg
|
||||
:target: https://imagelayers.io/?images=thewtex/cross-compiler-base:latest
|
||||
|
||||
thewtex/cross-compiler-base
|
||||
|base-images| Base image for other toolchain images. From Debian Jessie with GCC,
|
||||
make, autotools, CMake, Ninja, Git, and Python.
|
19
circle.yml
Normal file
19
circle.yml
Normal file
@ -0,0 +1,19 @@
|
||||
machine:
|
||||
services:
|
||||
- docker
|
||||
|
||||
dependencies:
|
||||
override:
|
||||
- docker info
|
||||
- docker pull thewtex/cross-compiler-base
|
||||
|
||||
test:
|
||||
override:
|
||||
- make base
|
||||
|
||||
deployment:
|
||||
hub:
|
||||
branch: master
|
||||
commands:
|
||||
- docker login -e $DOCKER_EMAIL -u $DOCKER_USER -p $DOCKER_PASS
|
||||
- docker push thewtex/cross-compiler-base
|
Loading…
Reference in New Issue
Block a user