mirror of
https://github.com/mveril/qp-demo
synced 2024-11-03 12:43:53 +01:00
Combine unminimize and apt-get and remove apt/lists
This commit is contained in:
parent
a861501a94
commit
b58323e582
11
Dockerfile
11
Dockerfile
@ -48,14 +48,11 @@ laboratory.url="http://www.lcpq.ups-tlse.fr/"
|
||||
ARG user=user
|
||||
# This argument define timezone for tzdata requierd by qp_run
|
||||
ARG tz=Etc/UTC
|
||||
# install manpages and other requirements to an interactive session
|
||||
RUN ["/bin/sh","-c","yes | unminimize"]
|
||||
# Install all requierd packages
|
||||
RUN apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install \
|
||||
# Unminimize and install all requierd packages
|
||||
RUN yes | unminimize && apt-get update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||
python htop vim emacs-nox screen tmux less wget curl tzdata man manpages-posix lsb-release \
|
||||
-y && \
|
||||
apt-get autoremove && apt-get clean
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
# Reconfigure tzdata with the good timezone
|
||||
RUN echo $tz > /etc/timezone && rm -rf /etc/localtime && echo "set mouse=" > ~/.vimrc
|
||||
RUN dpkg-reconfigure -f noninteractive tzdata
|
||||
|
Loading…
Reference in New Issue
Block a user