TT#118659 Switch Dockerfile from Debian buster to bullseye

Change-Id: I7ab523a1fcb2a215619d225aba5dfa96f86e560b
mr9.5.1
Manuel Montecelo 5 years ago
parent 4bcdc04802
commit 2ff49d4096

@ -1,11 +1,11 @@
# DOCKER_NAME=rate-o-mat-functional-tests-buster
FROM docker.mgm.sipwise.com/sipwise-buster:latest
# DOCKER_NAME=rate-o-mat-functional-tests-bullseye
FROM docker.mgm.sipwise.com/sipwise-bullseye: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 2019-06-27
ENV REFRESHED_AT 2021-05-03
# files that get-code generates
COPY t/sources.list.d/builddeps.list /etc/apt/sources.list.d/
@ -42,16 +42,16 @@ 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-buster main" > t/sources.list.d/builddeps.list
# echo "deb https://deb.sipwise.com/autobuild/ release-trunk-bullseye main" > t/sources.list.d/builddeps.list
#
# NOTE: run the following command from root folder of git repository:
# % docker build --no-cache --tag="rate-o-mat-functional-tests-buster" -f t/Dockerfile .
# % docker run --rm -i -t -v $(pwd):/code:rw rate-o-mat-functional-tests-buster:latest bash
# % docker build --no-cache --tag="rate-o-mat-functional-tests-bullseye" -f t/Dockerfile .
# % docker run --rm -i -t -v $(pwd):/code:rw rate-o-mat-functional-tests-bullseye:latest bash
#
# Use the existing docker image:
# % docker pull docker.mgm.sipwise.com/rate-o-mat-functional-tests-buster
# % docker pull docker.mgm.sipwise.com/rate-o-mat-functional-tests-bullseye
# NOTE: run the following command from root folder of git repository:
# % docker run --rm -i -t -v $(pwd):/code:rw docker.mgm.sipwise.com/rate-o-mat-functional-tests-buster:latest bash
# % docker run --rm -i -t -v $(pwd):/code:rw docker.mgm.sipwise.com/rate-o-mat-functional-tests-bullseye:latest bash
#
# Inside docker:
# cd /code && ./t/testrunner $IP_OF_NGCP_SYSTEM # IP_OF_NGCP_SYSTEM can be e.g. IP of a `vagrant up ce-trunk` system (eth1)

Loading…
Cancel
Save