MT#62899 Switch Dockerfile from Debian bookworm to trixie

Change-Id: I72299413d1af90a05f89b0a85925d007ea97628d
mr14.1
Guillem Jover 5 months ago
parent 0d4cb8b99c
commit 033cdba6ec

@ -1,11 +1,11 @@
# DOCKER_NAME=sipwise-base-bookworm # DOCKER_NAME=sipwise-base-trixie
FROM docker.mgm.sipwise.com/sipwise-bookworm:latest FROM docker.mgm.sipwise.com/sipwise-trixie: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 2023-06-26 ENV REFRESHED_AT 2025-12-30
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-bookworm" -f ./t/Dockerfile . # % docker build --tag="sipwise-base-trixie" -f ./t/Dockerfile .
# % docker run --rm -i -t -v $(pwd):/code:rw sipwise-base-bookworm:latest bash # % docker run --rm -i -t -v $(pwd):/code:rw sipwise-base-trixie:latest bash
# #
# Use the existing docker image: # Use the existing docker image:
# % docker pull docker.mgm.sipwise.com/sipwise-base-bookworm # % docker pull docker.mgm.sipwise.com/sipwise-base-trixie
# 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-bookworm:latest bash # % docker run --rm -i -t -v $(pwd):/code:rw docker.mgm.sipwise.com/sipwise-base-trixie:latest bash
# #
# Inside docker: # Inside docker:
# cd /code && ./t/testrunner # cd /code && ./t/testrunner

Loading…
Cancel
Save