1
0
mirror of https://github.com/mveril/qp-demo synced 2024-07-22 18:57:32 +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 # This argument define timezone for tzdata requierd by qp_run
ARG tz=Etc/UTC ARG tz=Etc/UTC
# We could add another argument to configure the language of the image # 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 # Install all requierd packages
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install apt-utils -y RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install apt-utils -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install \ RUN DEBIAN_FRONTEND=noninteractive apt-get install \
@ -25,7 +27,7 @@ git \
# All necessary packages to compile and run quantum package # 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 \ 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 # 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 # Reconfigure tzdata with the good timezone
RUN echo $tz > /etc/timezone RUN echo $tz > /etc/timezone
RUN rm -rf /etc/localtime RUN rm -rf /etc/localtime