-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update superbuild and superbuild-test
- Loading branch information
Showing
4 changed files
with
10 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,12 @@ LABEL maintainer="[email protected], [email protected]" | |
|
||
ARG INSTALL_DIR="/usr/local" | ||
ARG PROJECTS_DIR=/projects | ||
ARG CMAKE_GENERATOR="Unix Makefiles" | ||
ARG BUILD_TYPE=Release | ||
ARG CMAKE_EXTRA_OPTIONS=-j4 | ||
ARG release="none" | ||
ARG sbtag="none" | ||
ARG metadata="none" | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
|
@@ -27,18 +31,9 @@ RUN mkdir -p /etc/bash_completion.d/ && \ | |
vim &&\ | ||
update-ca-certificates | ||
|
||
#Some definitions | ||
ARG INSTALL_DIR | ||
ARG PROJECTS_DIR | ||
ARG CMAKE_GENERATOR="Unix Makefiles" | ||
ARG BUILD_TYPE=Release | ||
ARG CMAKE_EXTRA_OPTIONS=-j2 | ||
ARG release | ||
ARG sbtag | ||
#RUN if [ "$release" = "Stable" ]; then echo STABLE version is building; elif [ "$release" = "Ustable" ]; then echo UNSTABLE version is building && ${TAG}=Unstable; else echo SPECIFIC version $release is building && branch=$release; fi | ||
|
||
RUN echo "DEBUG ==> Release:" ${release} &&\ | ||
echo "DEBUG ==> TAG: " ${tag} | ||
echo "DEBUG ==> TAG: " ${tag} &&\ | ||
echo "DEBUG ==> metadata: " ${metadata} | ||
|
||
# Setup entrypoint | ||
ARG ROBOTOLOGY_INITIALIZATION_FILE=/usr/local/bin/setup_robotology_tdd.sh | ||
|
@@ -81,7 +76,7 @@ ARG PROJECTS_DIR | |
ARG METADATA_FILE | ||
ARG release | ||
ARG sbtag | ||
ARG metadata="none" | ||
ARG metadata | ||
|
||
COPY --from=builder ${PROJECTS_DIR} ${PROJECTS_DIR} | ||
COPY --from=builder /usr /usr | ||
|