1
0
mirror of https://github.com/mveril/qp-demo synced 2024-07-22 10:47:34 +02:00

enable manpage and add lsb_release to Dockerfile.compile

This commit is contained in:
Mickaël Véril 2019-11-06 15:22:25 +01:00
parent df267abc14
commit 36e4419016

View File

@ -17,6 +17,8 @@ ARG user=user
# This argument define timezone for tzdata requierd by qp_run
ARG tz=Etc/UTC
# We could add another argument to configure the language of the image
# enable manpages installation
RUN sed -i 's,^path-exclude=/usr/share/man/,#path-exclude=/usr/share/man/,' /etc/dpkg/dpkg.cfg.d/excludes
# Install all requierd packages
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install apt-utils -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install \
@ -25,7 +27,7 @@ git \
# All necessary packages to compile and run quantum package
curl wget python gfortran gcc g++ build-essential unzip liblapack-dev pkg-config autoconf zlib1g zlib1g-dev tzdata libgmp-dev \
# Other packages for user usage
htop vim emacs screen tmux less man -y
htop vim emacs screen tmux less man manpages-posix lsb-release -y
# Reconfigure tzdata with the good timezone
RUN echo $tz > /etc/timezone
RUN rm -rf /etc/localtime