Commit 66354473 authored by Jonathan Lambrechts's avatar Jonathan Lambrechts

single docker for cross-compilation and distribution

parent c539eb1a
# docker build -t immc/robotran-cross:v1.3 .
FROM ubuntu:18.04
FROM ubuntu:20.04
### osxcross
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y clang cmake git patch python3 libssl-dev liblzma-dev libxml2-dev llvm-dev uuid-dev
RUN useradd -ms /bin/bash builder
RUN mkdir -p /osxcross && chown builder /osxcross
RUN apt-get update && apt-get install -y zlib1g-dev
USER builder
RUN git clone https://github.com/tpoechtrager/osxcross.git /osxcross
......@@ -66,11 +68,16 @@ SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)\n"\
### ubuntu native
RUN apt-get update && apt-get install -y gcc g++ libxml2-dev liblapack-dev cmake
### phinx
### sphinx
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y python3-sphinx python3-numpydoc
### pip
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y python3-setuptools python3-pip
### tools for distribution
RUN apt -y update && apt -y install nsis ant openjdk-14-jdk genisoimage openssh-client
USER builder
WORKDIR /home/builder
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment