Initial work to support curv #578
@@ -8,21 +8,23 @@ RUN apt-get update --fix-missing && apt-get -y -qq install software-properties-c
|
||||
|
|
||||
|
||||
RUN apt-get update -qq
|
||||
|
||||
RUN apt-get -y -qq install git
|
||||
|
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
|
||||
|
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
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
RUN apt-get -y -qq install git \
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
software-properties-common \
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
xvfb unzip maim clang cmake \
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
git-core libboost-all-dev \
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
libopenexr-dev libtbb-dev \
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
libglm-dev libpng-dev \
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
libeigen3-dev dbus-x11 \
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
libxcursor-dev libxinerama-dev \
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
libxrandr-dev libglu1-mesa-dev \
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
libgles2-mesa-dev libgl1-mesa-dev \
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
libxi-dev
|
||||
|
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
|
||||
|
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
|
||||
|
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
|
||||
|
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
|
||||
|
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
|
||||
|
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
|
||||
|
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
|
||||
|
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
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
RUN apt-get -y -qq install libxi-dev
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
|
||||
|
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
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
# Use commit to make sure build is reproduceable
|
||||
|
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 && \
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
cd curv && \
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
git checkout b849eb57fba121f9f218dc065dc1f5ebc619836d && \
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
make && make install
|
||||
|
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
|
||||
|
built from source? better way to do this? built from source? better way to do this?
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" ]
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
CMD [ "js/curv.preview" ]
|
||||
|
built from source? better way to do this? built from source? better way to do this?
|
||||
|
||||
|
built from source? better way to do this? built from source? better way to do this?
built from source? better way to do this? built from source? better way to do this?
|
||||
built from source? better way to do this?
built from source? better way to do this?