mirror of
https://github.com/bensuperpc/dockcross.git
synced 2025-06-10 04:59:26 +02:00
Use base image, add Makefile, compress RUN statements to save on disk space
Signed-off-by: Steeve Morin <steeve.morin@gmail.com>
This commit is contained in:
12
linux-x64/Dockerfile
Normal file
12
linux-x64/Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM steeve/cross-compiler:base
|
||||
MAINTAINER Steeve Morin "steeve.morin@gmail.com"
|
||||
|
||||
ENV CROSS_TRIPLE x86_64-linux-gnu
|
||||
ENV CROSS_ROOT /usr/${CROSS_TRIPLE}
|
||||
ENV PATH ${PATH}:${CROSS_ROOT}/bin
|
||||
ENV LD_LIBRARY_PATH ${CROSS_ROOT}/lib:${LD_LIBRARY_PATH}
|
||||
|
||||
RUN mkdir -p ${CROSS_ROOT} && \
|
||||
cd /usr/bin && \
|
||||
ln -s ${CROSS_TRIPLE}-gcc ${CROSS_TRIPLE}-cc && \
|
||||
ln -s ${CROSS_TRIPLE}-g++ ${CROSS_TRIPLE}-c++
|
Reference in New Issue
Block a user