ttcn3: Add OSMO_TTCN3_BRANCH build-time argument to build non-master branches
This commit is contained in:
parent
f14d94d26b
commit
10305f2f8f
|
@ -6,10 +6,12 @@ RUN cd osmo-ttcn3-hacks && \
|
||||||
git checkout -f -B master origin/master && \
|
git checkout -f -B master origin/master && \
|
||||||
make deps
|
make deps
|
||||||
|
|
||||||
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit
|
ARG OSMO_TTCN3_BRANCH="master"
|
||||||
|
|
||||||
|
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit
|
||||||
RUN cd osmo-ttcn3-hacks && \
|
RUN cd osmo-ttcn3-hacks && \
|
||||||
git fetch && \
|
git fetch && \
|
||||||
git checkout -f -B master origin/master && \
|
git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
|
||||||
make ggsn_tests
|
make ggsn_tests
|
||||||
|
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
|
@ -7,10 +7,12 @@ RUN cd osmo-ttcn3-hacks && \
|
||||||
git checkout -f -B master origin/master && \
|
git checkout -f -B master origin/master && \
|
||||||
make deps
|
make deps
|
||||||
|
|
||||||
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit
|
ARG OSMO_TTCN3_BRANCH="master"
|
||||||
|
|
||||||
|
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit
|
||||||
RUN cd osmo-ttcn3-hacks && \
|
RUN cd osmo-ttcn3-hacks && \
|
||||||
git fetch && \
|
git fetch && \
|
||||||
git checkout -f -B master origin/master && \
|
git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
|
||||||
make mgw
|
make mgw
|
||||||
|
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
|
@ -10,10 +10,12 @@ RUN cd osmo-ttcn3-hacks && \
|
||||||
RUN git config --global user.email docker@dock.er && \
|
RUN git config --global user.email docker@dock.er && \
|
||||||
git config --global user.name "Dock Er"
|
git config --global user.name "Dock Er"
|
||||||
|
|
||||||
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit
|
ARG OSMO_TTCN3_BRANCH="master"
|
||||||
|
|
||||||
|
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit
|
||||||
RUN cd osmo-ttcn3-hacks && \
|
RUN cd osmo-ttcn3-hacks && \
|
||||||
git fetch && \
|
git fetch && \
|
||||||
git checkout -f -B master origin/master && \
|
git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
|
||||||
git cherry-pick 5ce5241d6d460e9b36a908ac7072d8ea68df08db && \
|
git cherry-pick 5ce5241d6d460e9b36a908ac7072d8ea68df08db && \
|
||||||
make bsc
|
make bsc
|
||||||
|
|
||||||
|
|
|
@ -10,10 +10,12 @@ RUN cd osmo-ttcn3-hacks && \
|
||||||
RUN git config --global user.email docker@dock.er && \
|
RUN git config --global user.email docker@dock.er && \
|
||||||
git config --global user.name "Dock Er"
|
git config --global user.name "Dock Er"
|
||||||
|
|
||||||
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit
|
ARG OSMO_TTCN3_BRANCH="master"
|
||||||
|
|
||||||
|
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit
|
||||||
RUN cd osmo-ttcn3-hacks && \
|
RUN cd osmo-ttcn3-hacks && \
|
||||||
git fetch && \
|
git fetch && \
|
||||||
git checkout -f -B master origin/master && \
|
git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
|
||||||
git cherry-pick 5ce5241d6d460e9b36a908ac7072d8ea68df08db && \
|
git cherry-pick 5ce5241d6d460e9b36a908ac7072d8ea68df08db && \
|
||||||
make msc
|
make msc
|
||||||
|
|
||||||
|
|
|
@ -7,10 +7,12 @@ RUN cd osmo-ttcn3-hacks && \
|
||||||
git checkout -f -B master origin/master && \
|
git checkout -f -B master origin/master && \
|
||||||
make deps
|
make deps
|
||||||
|
|
||||||
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch /tmp/commit
|
ARG OSMO_TTCN3_BRANCH="master"
|
||||||
|
|
||||||
|
ADD http://git.osmocom.org/osmo-ttcn3-hacks/patch?h=$OSMO_TTCN3_BRANCH /tmp/commit
|
||||||
RUN cd osmo-ttcn3-hacks && \
|
RUN cd osmo-ttcn3-hacks && \
|
||||||
git fetch && \
|
git fetch && \
|
||||||
git checkout -f -B master origin/master && \
|
git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
|
||||||
make sysinfo
|
make sysinfo
|
||||||
|
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
Loading…
Reference in New Issue