mirror of
https://github.com/mveril/qp-demo
synced 2024-12-22 12:23:49 +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
|
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
|
||||||
# install manpages and other requirements to an interactive session
|
# Unminimize and install all requierd packages
|
||||||
RUN ["/bin/sh","-c","yes | unminimize"]
|
RUN yes | unminimize && apt-get update && \
|
||||||
# Install all requierd packages
|
DEBIAN_FRONTEND=noninteractive apt-get install -y \
|
||||||
RUN apt-get update && \
|
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install \
|
|
||||||
python htop vim emacs-nox screen tmux less wget curl tzdata man manpages-posix lsb-release \
|
python htop vim emacs-nox screen tmux less wget curl tzdata man manpages-posix lsb-release \
|
||||||
-y && \
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
apt-get autoremove && apt-get clean
|
|
||||||
# Reconfigure tzdata with the good timezone
|
# Reconfigure tzdata with the good timezone
|
||||||
RUN echo $tz > /etc/timezone && rm -rf /etc/localtime && echo "set mouse=" > ~/.vimrc
|
RUN echo $tz > /etc/timezone && rm -rf /etc/localtime && echo "set mouse=" > ~/.vimrc
|
||||||
RUN dpkg-reconfigure -f noninteractive tzdata
|
RUN dpkg-reconfigure -f noninteractive tzdata
|
||||||
|
Loading…
Reference in New Issue
Block a user