TT#21905 Switch janus-client Dockerfile to Debian stretch

+ TT#22410 Fix typo in Dockerfile 'Instructions for usage'

Change-Id: Ic00ef6dcd3114db5be4bb139989fd75b1595b783
changes/92/15592/2
Alexander Lutay 8 years ago
parent 9b999c5a17
commit ed1ed9a22c

@ -1,11 +1,11 @@
# DOCKER_NAME=janus-client-jessie
FROM docker.mgm.sipwise.com/sipwise-jessie:latest
# DOCKER_NAME=janus-client-stretch
FROM docker.mgm.sipwise.com/sipwise-stretch:latest
# Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all
# of the base images and things like `apt-get update` won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2017-06-30
ENV REFRESHED_AT 2017-09-25
# files that get-code generates
COPY t/sources.list.d/builddeps.list /etc/apt/sources.list.d/
@ -34,18 +34,17 @@ WORKDIR /code
#
# you need to put the proper NGCP sources at t/sources.list.d/builddeps.list
# for instance, trunk:
# echo "deb https://deb.sipwise.com/autobuild/ release-trunk-jessie main" > /
# t/sources.list.d/builddeps.list
# echo "deb https://deb.sipwise.com/autobuild/ release-trunk-stretch main" > t/sources.list.d/builddeps.list
#
# NOTE: run the following command from root folder of git repository:
# % docker build --tag="janus-client-jessie" -f ./t/Dockerfile .
# % docker build --tag="janus-client-stretch" -f ./t/Dockerfile .
# NOTE: run the following command from root folder of git repository:
# % docker run --rm -i -t -v $(pwd):/code:ro -v /results janus-client-jessie:latest bash
# % docker run --rm -i -t -v $(pwd):/code:ro -v /results janus-client-stretch:latest bash
#
# Use the existing docker image:
# % docker pull docker.mgm.sipwise.com/janus-client-jessie
# % docker pull docker.mgm.sipwise.com/janus-client-stretch
# NOTE: run the following command from root folder of git repository:
# % docker run --rm -i -t -v $(pwd):/code:ro -v /results docker.mgm.sipwise.com/janus-client-jessie:latest bash
# % docker run --rm -i -t -v $(pwd):/code:ro -v /results docker.mgm.sipwise.com/janus-client-stretch:latest bash
#
# Inside docker:
# cd /code && ./t/testrunner

Loading…
Cancel
Save