mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +03:00
Dockerfile: configure compiler first for library build
Signed-off-by: Nicolas Oliver <dario.n.oliver@intel.com> Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
parent
53456d9138
commit
54c1b0ce4b
12
Dockerfile
12
Dockerfile
@ -24,6 +24,12 @@ RUN add-apt-repository ppa:mraa/mraa && \
|
|||||||
# Sensor Specific Build Dependencies
|
# Sensor Specific Build Dependencies
|
||||||
libjpeg-dev
|
libjpeg-dev
|
||||||
|
|
||||||
|
# Configure Compiler Environment
|
||||||
|
ARG CC
|
||||||
|
ARG CXX
|
||||||
|
ENV CC $CC
|
||||||
|
ENV CXX $CXX
|
||||||
|
|
||||||
# Configure Java Home
|
# Configure Java Home
|
||||||
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64/
|
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64/
|
||||||
|
|
||||||
@ -72,12 +78,6 @@ ARG RPM
|
|||||||
ARG NPM
|
ARG NPM
|
||||||
ARG BUILDTESTS
|
ARG BUILDTESTS
|
||||||
ARG WERROR
|
ARG WERROR
|
||||||
ARG CC
|
|
||||||
ARG CXX
|
|
||||||
|
|
||||||
# Configure Build Environment
|
|
||||||
ENV CC $CC
|
|
||||||
ENV CXX $CXX
|
|
||||||
|
|
||||||
# Copy sources
|
# Copy sources
|
||||||
COPY . .
|
COPY . .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user