Initial work to support curv #578

Merged
lf94 merged 11 commits from integration-curv into main 2021-11-30 05:24:24 +01:00
Showing only changes of commit ca22ec28fc - Show all commits

View File

@@ -8,21 +8,23 @@ RUN apt-get update --fix-missing && apt-get -y -qq install software-properties-c
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
RUN apt-get update -qq
RUN apt-get -y -qq install git
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
RUN apt-get update --fix-missing && apt-get -y --fix-broken install python-pycurl python-apt
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
RUN apt-get -y -qq --fix-broken install software-properties-common
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
RUN apt-get -y -qq install git \
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
software-properties-common \
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
xvfb unzip maim clang cmake \
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
git-core libboost-all-dev \
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
libopenexr-dev libtbb-dev \
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
libglm-dev libpng-dev \
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
libeigen3-dev dbus-x11 \
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
libxcursor-dev libxinerama-dev \
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
libxrandr-dev libglu1-mesa-dev \
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
libgles2-mesa-dev libgl1-mesa-dev \
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
libxi-dev
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
RUN apt-get -y -qq install xvfb unzip maim clang cmake
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
RUN apt-get -y -qq install git-core libboost-all-dev
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
RUN apt-get -y -qq install libopenexr-dev libtbb-dev
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
RUN apt-get -y -qq install libglm-dev libpng-dev
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
RUN apt-get -y -qq install libeigen3-dev dbus-x11
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
RUN apt-get -y -qq install libxcursor-dev libxinerama-dev
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
RUN apt-get -y -qq install libxrandr-dev libglu1-mesa-dev
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
RUN apt-get -y -qq install libgles2-mesa-dev libgl1-mesa-dev
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
RUN apt-get -y -qq install libxi-dev
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
RUN git clone --recursive https://github.com/curv3d/curv; cd curv; make; make install
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
# Use commit to make sure build is reproduceable
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
RUN git clone --recursive https://github.com/curv3d/curv && \
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
cd curv && \
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
git checkout b849eb57fba121f9f218dc065dc1f5ebc619836d && \
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
make && make install
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
# install node14, see comment at the top of node14source_setup.sh
ADD src/docker/common/node14source_setup.sh /nodesource_setup.sh
@@ -62,4 +64,4 @@ COPY src/docker/common/entrypoint.sh /entrypoint.sh
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
RUN ["chmod", "+x", "/entrypoint.sh"]
ENTRYPOINT ["sh", "/entrypoint.sh"]
CMD [ "js/curv.render" ]
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
CMD [ "js/curv.preview" ]
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?
Irev-Dev commented 2021-11-22 23:46:37 +01:00 (Migrated from github.com)
Review

built from source? better way to do this?

built from source? better way to do this?