diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2019-02-19 03:41:25 +0000 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2019-02-19 05:06:38 +0000 |
commit | f8a085347a8b573e616183286fbaa9bea0a90ccb (patch) | |
tree | 333f69b08a0c556969e964580d3655ce2fd9b745 /docker/Dockerfile_osmocom_jenkins.amd64 | |
parent | a6d9db32c1507f4ce89f24fb15a94f197928a82e (diff) |
docker: Use the same Dockerfile for jessie and stretch
The binaries built on the Jenkins to be used by the osmo-gsm-tester
require libgnutls.so.30. This is provided by the libgnutls30 package
which is not available on jessie (Debian 8) and a backport requires
some effort.
Re-use the existing Dockerfile for jessie and stretch (Debian 9) using
an argument. Refactor the shell script to pass the right argument. Add
the debian version into the tag name to make space for buster (Debian
10).
Change-Id: I44c8e49a548cb64defd2eba868ec4bd435de90ba
Diffstat (limited to 'docker/Dockerfile_osmocom_jenkins.amd64')
-rw-r--r-- | docker/Dockerfile_osmocom_jenkins.amd64 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/Dockerfile_osmocom_jenkins.amd64 b/docker/Dockerfile_osmocom_jenkins.amd64 index 48536ac..25a9f61 100644 --- a/docker/Dockerfile_osmocom_jenkins.amd64 +++ b/docker/Dockerfile_osmocom_jenkins.amd64 @@ -1,4 +1,5 @@ -FROM debian:jessie +ARG DEBIAN_VERSION=jessie +FROM debian:${DEBIAN_VERSION} RUN \ echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list && \ |