Commit 485fd6c4 authored by Yann Garcia's avatar Yann Garcia
Browse files

Add workaround to build docker image of TITAN

parent 32594b68
Loading
Loading
Loading
Loading
Original line number Diff line number Diff line
Subproject commit ffbcefb5dbe4bc24623f5738c8a64153c8f3599d
Subproject commit 554d6b6b3ce1e51d88267a3c946cd30caac97a55
Compare 3e3e90ce to 566cc49b
Original line number Diff line number Diff line
Subproject commit 3e3e90ce7c54d4b3ab1e2551778d8d52aade506c
Subproject commit 566cc49bf1b16aa64c26dea40268c8cd0c7acab6
Compare 732c9934 to affc1fa4
Original line number Diff line number Diff line
Subproject commit 732c9934d2c87966b5ab9ba4e6886f353d5e4ace
Subproject commit affc1fa4e6497ff138b79a958caa79532fba6857
+7 −1
Original line number Diff line number Diff line
@@ -27,7 +27,8 @@ RUN \
    && autoreconf -iv && ./configure --prefix=${HOME} && make install \
    && cd - \
    && mkdir -p titan && cd ./titan \
    && git clone https://github.com/eclipse/titan.core.git || exit 1
    && git clone https://gitlab.eclipse.org/eclipse/titan/titan.core.git || exit 1

WORKDIR /home/etsi/frameworks/titan/titan.core/

# Setup ENV variables
@@ -35,6 +36,11 @@ ENV TTCN3_DIR=/home/etsi/frameworks/titan/titan.core/Install
ENV PATH=$TTCN3_DIR/bin:$PATH \
    LD_LIBRARY_PATH=$TTCN3_DIR/lib:$LD_LIBRARY_PATH

# Workaround for issue in Settings.cc
RUN \
    sed --in-place '623s/NULL/false/' ./compiler2/Setting.cc \
    && sed --in-place '639s/NULL/false/' ./compiler2/Setting.cc || exit 1

# Set flags & Build Titan
RUN \
    echo "ALPINE_LINUX=yes" > Makefile.personal && \