view deploy/linux/docker/Dockerfile_test_appimage.in @ 717:2a27275b8540

Avoid dropping out when yum tries to ask us a question
author Chris Cannam
date Wed, 12 Dec 2018 14:32:31 +0000
parents 6fb20633da00
children
line wrap: on
line source
FROM centos:7

# 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 yum update and the package dependency
# installation itself
RUN echo [[REVISION]]

RUN yum -y update
RUN yum -y groupinstall "X Window System"
RUN yum -y install wget
ADD output/EasyMercurial-[[REVISION]]-x86_64.AppImage EasyMercurial.AppImage
RUN chmod +x EasyMercurial.AppImage
RUN ./EasyMercurial.AppImage --appimage-extract
RUN ./squashfs-root/AppRun --version