Skip to content

Commit ee9c646

Browse files
author
Thomas Weise
committed
Fixing CA-Certificates Issue (needed by, e.g., Maven)
http://stackoverflow.com/questions/6784463/
1 parent c5216c0 commit ee9c646

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

image/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ RUN echo 'deb http://httpredir.debian.org/debian jessie-backports main' >> /etc/
1919
apt-get update &&\
2020
apt-get autoclean -y &&\
2121
apt-get autoremove -y &&\
22-
apt-get update &&\
22+
apt-get update &&\
2323
apt-get install -f -y apt-utils &&\
2424
apt-get install -f -y ca-certificates-java \
2525
ghostscript=9.06* \
@@ -32,6 +32,7 @@ RUN echo 'deb http://httpredir.debian.org/debian jessie-backports main' >> /etc/
3232
texlive-fonts-recommended \
3333
texlive-luatex \
3434
texlive-xetex &&\
35+
/var/lib/dpkg/info/ca-certificates-java.postinst configure &&\
3536
cd /tmp/ &&\
3637
R_params="repos=c(\"http://cran.us.r-project.org\", \"http://cran.uk.r-project.org\", \"http://mirrors.ustc.edu.cn/CRAN\", \"http://cran.wu.ac.at/\", \"http://cran.utstat.utoronto.ca/\", \"http://cran.rstudio.com/\", \"https://cran.uni-muenster.de/\", \"http://ftp.iitm.ac.in/cran/\" ), dependencies=TRUE, clean=TRUE" &&\
3738
Rscript -e "update.packages(ask=FALSE, ${R_params})" &&\

0 commit comments

Comments
 (0)