File tree Expand file tree Collapse file tree 3 files changed +27
-24
lines changed
Expand file tree Collapse file tree 3 files changed +27
-24
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,9 @@ LABEL org.label-schema.license="GPL-2.0" \
1313RUN useradd -s /bin/bash -m docker \
1414 && usermod -a -G staff docker \
1515# # Refresh apt, install minimal tools
16- && apt-get update \
17- && apt-get install -y --no-install-recommends \
16+ && apt update \
17+ && apt upgrade -y \
18+ && apt install -y --no-install-recommends \
1819 ca-certificates \
1920 locales \
2021 wget \
@@ -38,15 +39,15 @@ RUN useradd -s /bin/bash -m docker \
3839 && /usr/sbin/update-locale LANG=en_US.UTF-8
3940
4041# # Set some variables
41- ENV LC_ALL en_US.UTF-8
42- ENV LANG en_US.UTF-8
43- ENV DEBIAN_FRONTEND noninteractive
44- ENV TZ UTC
42+ ENV LC_ALL= en_US.UTF-8
43+ ENV LANG= en_US.UTF-8
44+ ENV DEBIAN_FRONTEND= noninteractive
45+ ENV TZ= UTC
4546
4647# # Now install R and littler, and create a link for littler in /usr/local/bin
4748# # Default CRAN repo is now set by R itself, and littler knows about it too
48- RUN apt-get update \
49- && apt-get install -y --no-install-recommends \
49+ RUN apt update \
50+ && apt install -y --no-install-recommends \
5051 r-base \
5152 r-base-dev \
5253 r-recommended \
Original file line number Diff line number Diff line change @@ -13,8 +13,9 @@ LABEL org.label-schema.license="GPL-2.0" \
1313RUN useradd -s /bin/bash -m docker \
1414 && usermod -a -G staff docker \
1515# # Refresh apt, install minimal tools
16- && apt-get update \
17- && apt-get install -y --no-install-recommends \
16+ && apt update \
17+ && apt upgrade -y \
18+ && apt install -y --no-install-recommends \
1819 ca-certificates \
1920 locales \
2021 wget \
@@ -38,16 +39,16 @@ RUN useradd -s /bin/bash -m docker \
3839 && /usr/sbin/update-locale LANG=en_US.UTF-8
3940
4041# # Set some variables
41- ENV LC_ALL en_US.UTF-8
42- ENV LANG en_US.UTF-8
43- ENV DEBIAN_FRONTEND noninteractive
44- ENV TZ UTC
42+ ENV LC_ALL= en_US.UTF-8
43+ ENV LANG= en_US.UTF-8
44+ ENV DEBIAN_FRONTEND= noninteractive
45+ ENV TZ= UTC
4546
4647
4748# Now install R and littler, and create a link for littler in /usr/local/bin
4849# Default CRAN repo is now set by R itself, and littler knows about it too
49- RUN apt-get update \
50- && apt-get install -y --no-install-recommends \
50+ RUN apt update \
51+ && apt install -y --no-install-recommends \
5152 r-base \
5253 r-base-dev \
5354 r-recommended \
Original file line number Diff line number Diff line change @@ -13,8 +13,9 @@ LABEL org.label-schema.license="GPL-2.0" \
1313RUN useradd -s /bin/bash -m docker \
1414 && usermod -a -G staff docker \
1515# # Refresh apt, install minimal tools
16- && apt-get update \
17- && apt-get install -y --no-install-recommends \
16+ && apt update \
17+ && apt upgrade -y \
18+ && apt install -y --no-install-recommends \
1819 ca-certificates \
1920 locales \
2021 wget \
@@ -38,16 +39,16 @@ RUN useradd -s /bin/bash -m docker \
3839 && /usr/sbin/update-locale LANG=en_US.UTF-8
3940
4041# # Set some variables
41- ENV LC_ALL en_US.UTF-8
42- ENV LANG en_US.UTF-8
43- ENV DEBIAN_FRONTEND noninteractive
44- ENV TZ UTC
42+ ENV LC_ALL= en_US.UTF-8
43+ ENV LANG= en_US.UTF-8
44+ ENV DEBIAN_FRONTEND= noninteractive
45+ ENV TZ= UTC
4546
4647
4748# Now install R and littler, and create a link for littler in /usr/local/bin
4849# Default CRAN repo is now set by R itself, and littler knows about it too
49- RUN apt-get update \
50- && apt-get install -y --no-install-recommends \
50+ RUN apt update \
51+ && apt install -y --no-install-recommends \
5152 r-base \
5253 r-base-dev \
5354 r-recommended \
You can’t perform that action at this time.
0 commit comments