view deploy/linux/docker/Dockerfile_test_appimage.in @ 394:885960538dd4

Build a static-ish binary
author Chris Cannam
date Tue, 09 Jun 2020 16:59:44 +0100
parents a0ff34e9e86b
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 install wget
ADD output/SonicAnnotator-[[REVISION]]-x86_64.AppImage runner.AppImage
RUN chmod +x runner.AppImage
RUN ./runner.AppImage --appimage-extract
RUN ./squashfs-root/AppRun --version