File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,13 @@ ENV DEBIAN_FRONTEND=noninteractive
14
14
RUN apt-get -y update && apt-get -y upgrade && \
15
15
#
16
16
# Add PPA for Python 3.x and R 4.0
17
- apt -y install software-properties-common dirmngr && \
18
- apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9 && \
17
+ apt-get -y install \
18
+ ca-certificates \
19
+ curl \
20
+ dirmngr \
21
+ gpg \
22
+ software-properties-common && \
23
+ curl -fsSL "https://keyserver.ubuntu.com/pks/lookup?op=get&search=0xE298A3A825C0D65DFD57CBB651716619E084DAB9" | gpg --dearmor -o /etc/apt/keyrings/r-project-keyring.gpg && \
19
24
add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -sc)-cran40/" && \
20
25
add-apt-repository -y ppa:deadsnakes/ppa && \
21
26
#
You can’t perform that action at this time.
0 commit comments