diff --git a/t/Dockerfile b/t/Dockerfile index f453815..c3ed448 100644 --- a/t/Dockerfile +++ b/t/Dockerfile @@ -1,20 +1,19 @@ -# DOCKER_NAME=janus-admin-stretch -FROM docker.mgm.sipwise.com/sipwise-stretch:latest +# DOCKER_NAME=janus-admin-buster +FROM docker.mgm.sipwise.com/sipwise-buster: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-09-25 +ENV REFRESHED_AT 2019-06-27 -# TODO - the release-trunk-stretch is too dynamic yet, though required build deps -RUN echo "deb https://deb.sipwise.com/autobuild/ release-trunk-stretch main" >>/etc/apt/sources.list +# TODO - the release-trunk-buster is too dynamic yet, though required build deps +RUN echo "deb https://deb.sipwise.com/autobuild/ release-trunk-buster main" >>/etc/apt/sources.list RUN apt-get update RUN apt-get install --assume-yes \ curl \ nodejs \ - nodejs-legacy \ npm ADD package.json /tmp/ @@ -34,13 +33,13 @@ WORKDIR /code # ---------------------- # When you want to build the base image from scratch (jump to the next section if you don't want to build yourself!): # NOTE: run the following commands from root folder of git repository: -# % docker build --tag="janus-admin-stretch" -f ./t/Dockerfile . -# % docker run --rm -i -t -v $(pwd):/code:ro -v /results janus-admin-stretch:latest bash +# % docker build --tag="janus-admin-buster" -f ./t/Dockerfile . +# % docker run --rm -i -t -v $(pwd):/code:ro -v /results janus-admin-buster:latest bash # # Use the existing docker image: -# % docker pull docker.mgm.sipwise.com/janus-admin-stretch +# % docker pull docker.mgm.sipwise.com/janus-admin-buster # 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-admin-stretch:latest bash +# % docker run --rm -i -t -v $(pwd):/code:ro -v /results docker.mgm.sipwise.com/janus-admin-buster:latest bash # # Inside docker: # cd /code && ./t/testrunner