TT#118659 Switch Dockerfile from Debian buster to bullseye

Change-Id: If91166ff01c9d62d6387a7fcd681642e9dd20f9f
mr9.5.1
Manuel Montecelo 5 years ago
parent bf38a65039
commit d67055d426

@ -1,11 +1,11 @@
# DOCKER_NAME=sipwise-base-buster # DOCKER_NAME=sipwise-base-bullseye
FROM docker.mgm.sipwise.com/sipwise-buster:latest FROM docker.mgm.sipwise.com/sipwise-bullseye:latest
# Important! Update this no-op ENV variable when this Dockerfile # Important! Update this no-op ENV variable when this Dockerfile
# is updated with the current date. It will force refresh of all # 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 # of the base images and things like `apt-get update` won't be using
# old cached versions when the Dockerfile is built. # old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2019-06-27 ENV REFRESHED_AT 2021-05-03
RUN apt-get update && apt-get install --assume-yes libmodule-build-perl libtrycatch-perl libstrictures-perl RUN apt-get update && apt-get install --assume-yes libmodule-build-perl libtrycatch-perl libstrictures-perl
@ -20,13 +20,13 @@ WORKDIR /code/
# (jump to the next section if you don't want to build yourself!): # (jump to the next section if you don't want to build yourself!):
# #
# NOTE: run the following command from root folder of git repository: # NOTE: run the following command from root folder of git repository:
# % docker build --tag="sipwise-base-buster" -f ./t/Dockerfile . # % docker build --tag="sipwise-base-bullseye" -f ./t/Dockerfile .
# % docker run --rm -i -t -v $(pwd):/code:rw sipwise-base-buster:latest bash # % docker run --rm -i -t -v $(pwd):/code:rw sipwise-base-bullseye:latest bash
# #
# Use the existing docker image: # Use the existing docker image:
# % docker pull docker.mgm.sipwise.com/sipwise-base-buster # % docker pull docker.mgm.sipwise.com/sipwise-base-bullseye
# NOTE: run the following command from root folder of git repository: # NOTE: run the following command from root folder of git repository:
# % docker run --rm -i -t -v $(pwd):/code:rw docker.mgm.sipwise.com/sipwise-base-buster:latest bash # % docker run --rm -i -t -v $(pwd):/code:rw docker.mgm.sipwise.com/sipwise-base-bullseye:latest bash
# #
# Inside docker: # Inside docker:
# cd /code && ./t/testrunner # cd /code && ./t/testrunner

Loading…
Cancel
Save