Fix hadolint deviations

This commit is contained in:
Romain
2020-05-29 19:33:24 +02:00
parent 64c143d3cd
commit 7b48e43b74
8 changed files with 76 additions and 47 deletions

View File

@@ -1,6 +1,7 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
ARG BASE_CONTAINER=jupyter/minimal-notebook
# hadolint ignore=DL3006
FROM $BASE_CONTAINER
LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
@@ -8,6 +9,7 @@ LABEL maintainer="Jupyter Project <jupyter@googlegroups.com>"
USER root
# R pre-requisites
# hadolint ignore=DL3008
RUN apt-get update && \
apt-get install -y --no-install-recommends \
fonts-dejavu \
@@ -47,7 +49,7 @@ RUN conda install --quiet --yes \
'unixodbc=2.3.*' \
&& \
conda clean --all -f -y && \
fix-permissions $CONDA_DIR
fix-permissions "${CONDA_DIR}"
# Install e1071 R package (dependency of the caret R package)
RUN conda install --quiet --yes r-e1071