1
0
mirror of https://github.com/mveril/qp-demo synced 2024-12-22 20:35:26 +01:00

Cleaning dockerfiles

This commit is contained in:
Mickaël Véril 2020-06-11 10:01:01 +02:00
parent 6e3ed6e25b
commit e35eaba0ec
2 changed files with 4 additions and 9 deletions

View File

@ -4,20 +4,18 @@
FROM ubuntu:latest FROM ubuntu:latest
LABEL version="0.1" \ LABEL version="0.1" \
maintainer.name="Mickaël Véril" \ maintainer.name="Mickaël Véril" \
maintainer.email="" \
quantum_package.author.name="Anthony Scemama" \ quantum_package.author.name="Anthony Scemama" \
quantum_package.author.email="" \
quantum_package.url="https://quantumpackage.github.io/qp2" \ quantum_package.url="https://quantumpackage.github.io/qp2" \
quantum_package.repo="https://github.com/QuantumPackage/qp2" \ quantum_package.repo="https://github.com/QuantumPackage/qp2" \
quantum_package.demo.repo="https://github.com/mveril/qp-demo"
laboratory.name="Laboratoire de Chimie et Physique Quantique (LCPQ)" \ laboratory.name="Laboratoire de Chimie et Physique Quantique (LCPQ)" \
laboratory.url="http://www.lcpq.ups-tlse.fr/" laboratory.url="http://www.lcpq.ups-tlse.fr/"
# Build argument (can be changed at build time see buiild.sh for an example) # Build argument (can be changed at build time
# This argument define the user name # This argument define the user name
ARG user=user 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 # Enable manpages installation
# enable manpages installation
RUN sed -i 's,^path-exclude=/usr/share/man/,#path-exclude=/usr/share/man/,' /etc/dpkg/dpkg.cfg.d/excludes 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 && \ RUN apt-get update && \

View File

@ -4,19 +4,16 @@
FROM ubuntu:latest FROM ubuntu:latest
LABEL version="0.1" \ LABEL version="0.1" \
maintainer.name="Mickaël Véril" \ maintainer.name="Mickaël Véril" \
maintainer.email="" \
quantum_package.author.name="Anthony Scemama" \ quantum_package.author.name="Anthony Scemama" \
quantum_package.author.email="" \
quantum_package.url="https://quantumpackage.github.io/qp2" \ quantum_package.url="https://quantumpackage.github.io/qp2" \
quantum_package.repo="https://github.com/QuantumPackage/qp2" \ quantum_package.repo="https://github.com/QuantumPackage/qp2" \
laboratory.name="Laboratoire de Chimie et Physique Quantique (LCPQ)" \ laboratory.name="Laboratoire de Chimie et Physique Quantique (LCPQ)" \
laboratory.url="http://www.lcpq.ups-tlse.fr/" laboratory.url="http://www.lcpq.ups-tlse.fr/"
# Build argument (can be changed at build time see buiild.sh for an example) # Build argument (can be changed at build time
# This argument define the user name # This argument define the user name
ARG user=user 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
# enable manpages installation # enable manpages installation
RUN sed -i 's,^path-exclude=/usr/share/man/,#path-exclude=/usr/share/man/,' /etc/dpkg/dpkg.cfg.d/excludes 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