ttcn3: Add OSMO_TTCN3_BRANCH build-time argument to build non-master branches

changes/84/7384/1
Harald Welte 5 years ago
parent f14d94d26b
commit 10305f2f8f
  1. 6
      ggsn-test/Dockerfile
  2. 6
      mgw-test/Dockerfile
  3. 6
      ttcn3-bsc-test/Dockerfile
  4. 6
      ttcn3-msc-test/Dockerfile
  5. 6
      ttcn3-nitb-sysinfo/Dockerfile

@ -6,10 +6,12 @@ RUN cd osmo-ttcn3-hacks && \
git checkout -f -B master origin/master && \
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 && \
git fetch && \
git checkout -f -B master origin/master && \
git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
make ggsn_tests
VOLUME /data

@ -7,10 +7,12 @@ RUN cd osmo-ttcn3-hacks && \
git checkout -f -B master origin/master && \
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 && \
git fetch && \
git checkout -f -B master origin/master && \
git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
make mgw
VOLUME /data

@ -10,10 +10,12 @@ RUN cd osmo-ttcn3-hacks && \
RUN git config --global user.email docker@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 && \
git fetch && \
git checkout -f -B master origin/master && \
git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
git cherry-pick 5ce5241d6d460e9b36a908ac7072d8ea68df08db && \
make bsc

@ -10,10 +10,12 @@ RUN cd osmo-ttcn3-hacks && \
RUN git config --global user.email docker@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 && \
git fetch && \
git checkout -f -B master origin/master && \
git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
git cherry-pick 5ce5241d6d460e9b36a908ac7072d8ea68df08db && \
make msc

@ -7,10 +7,12 @@ RUN cd osmo-ttcn3-hacks && \
git checkout -f -B master origin/master && \
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 && \
git fetch && \
git checkout -f -B master origin/master && \
git checkout -f -B $OSMO_TTCN3_BRANCH origin/$OSMO_TTCN3_BRANCH && \
make sysinfo
VOLUME /data

Loading…
Cancel
Save