Review at  https://gerrit.osmocom.org/5055

jenkins docker: drop hardcoded osmo-deps.sh

The jenkins invocation of the docker image commonly includes the osmo-ci
scripts via binding ~/bin to an up-to-date checkout. We don't need another
version of osmo-deps.sh in /usr/local/bin.

Change-Id: I5ce9ab992afa3c5a7a0bb13b55cae016bc8e805f
---
M docker/Dockerfile_osmocom_jenkins.amd64
1 file changed, 0 insertions(+), 13 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ci refs/changes/55/5055/1

diff --git a/docker/Dockerfile_osmocom_jenkins.amd64 
b/docker/Dockerfile_osmocom_jenkins.amd64
index 5ecf6de..5481a50 100644
--- a/docker/Dockerfile_osmocom_jenkins.amd64
+++ b/docker/Dockerfile_osmocom_jenkins.amd64
@@ -40,19 +40,6 @@
 RUN git clone git://git.osmocom.org/python/osmo-python-tests && cd 
osmo-python-tests && python2 ./setup.py install && python3 ./setup.py install
 
 
-RUN echo "#!/bin/sh \n\
- \n\
-if ! test -d \$1; \n\
-then \n\
-  git clone git://git.osmocom.org/\$1 \$1 \n\
-fi \n\
-\n\
-cd \$1 \n\
-git fetch origin \n\
-git reset --hard origin/master" > /usr/local/bin/osmo-deps.sh
-RUN chmod +x /usr/local/bin/osmo-deps.sh
-
-
 RUN git clone http://git.savannah.gnu.org/r/smalltalk.git
 RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends 
flex libsigsegv-dev bison libgmp-dev texinfo zip libltdl-dev 
 RUN cd smalltalk && autoreconf --install --force && ./configure && make install

-- 
To view, visit https://gerrit.osmocom.org/5055
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5ce9ab992afa3c5a7a0bb13b55cae016bc8e805f
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Owner: Neels Hofmeyr <[email protected]>

Reply via email to