view deploy/linux/docker/Dockerfile_test_deb.in @ 2158:3f3ad6701482

Ensure Docker cache is defeated when necessary for a consistent build
author Chris Cannam
date Thu, 13 Dec 2018 10:22:16 +0000
parents 295b6a146f1c
children
line wrap: on
line source
FROM ubuntu:18.04

# Ensure that everything subsequent is re-run when a new revision is
# being built (rather than being cached) - so as to avoid potential
# mismatches between results of apt-get update and the package
# dependency installation itself
RUN echo [[REVISION]]

RUN apt-get update
ADD output/sonic-visualiser_[[RELEASE]]_amd64.deb sonic-visualiser_[[RELEASE]]_amd64.deb
RUN apt install -y ./sonic-visualiser_[[RELEASE]]_amd64.deb
RUN /usr/bin/sonic-visualiser --version