aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2021-03-22 12:24:10 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2021-03-22 12:24:12 +0100
commit51493aa3886474784c8c981feeb79630d557961d (patch)
tree9ce2100c2237cfdf51b012043fa7da8c846ce162
parentc1f302c2e7b184325943c7ddc78cbb4274793cb2 (diff)
ogt: Update base image to debian buster
The OGT build setup and the physicial setup use now debian buster. Let's update this container too to buster to avoid different versions of libs during build and runtime (such as libasan). Change-Id: If5adfb3c52ec5ded2adaca984e7a8c05f5866d34
-rw-r--r--osmo-gsm-tester/Dockerfile21
1 files changed, 1 insertions, 20 deletions
diff --git a/osmo-gsm-tester/Dockerfile b/osmo-gsm-tester/Dockerfile
index 764d6dc..8dea613 100644
--- a/osmo-gsm-tester/Dockerfile
+++ b/osmo-gsm-tester/Dockerfile
@@ -1,7 +1,5 @@
ARG USER
-FROM $USER/debian-stretch-jenkins
-# Arguments used after FROM must be specified again
-ARG OSMOCOM_REPO_MIRROR="http://download.opensuse.org"
+FROM $USER/debian-buster-jenkins
MAINTAINER Pau Espin Pedrol <pespin@sysmocom.de>
@@ -77,15 +75,6 @@ RUN cd /tmp && \
make && \
make install
-ARG OSMOCOM_REPO="$OSMOCOM_REPO_MIRROR/repositories/network:/osmocom:/nightly/Debian_9.0/"
-
-COPY .common/Release.key /tmp/Release.key
-
-RUN apt-key add /tmp/Release.key && \
- rm /tmp/Release.key && \
- echo "deb " $OSMOCOM_REPO " ./" > /etc/apt/sources.list.d/osmocom-nightly.list
-
-ADD $OSMOCOM_REPO/Release /tmp/Release
RUN apt-get update && \
apt-get install -y --no-install-recommends \
telnet \
@@ -135,14 +124,6 @@ RUN cd osmo-gsm-tester && \
(git symbolic-ref -q HEAD && git reset --hard origin/$OSMO_GSM_TESTER_BRANCH || exit 1); \
git rev-parse --abbrev-ref HEAD && git rev-parse HEAD
-# Install osmo-ci.git/scripts to /usr/local/bin
-ADD http://git.osmocom.org/osmo-ci/patch /tmp/osmo-ci-commit
-RUN git clone https://git.osmocom.org/osmo-ci osmo-ci && \
- cp -v $(find osmo-ci/scripts \
- -maxdepth 1 \
- -type f ) \
- /usr/local/bin
-
# Copy several scripts and permission for osmo-gsm-tester:
RUN mkdir -p /usr/local/bin/ && cp osmo-gsm-tester/utils/bin/* /usr/local/bin/
RUN mkdir -p /etc/sudoers.d/ && cp osmo-gsm-tester/utils/sudoers.d/* /etc/sudoers.d/