Skip to content
Snippets Groups Projects
Unverified Commit 04c020ae authored by Laurent Modolo's avatar Laurent Modolo
Browse files

docker: add r4.0.0

parent aed09edd
Branches master
No related tags found
No related merge requests found
FROM alpine:3.12.0
MAINTAINER Lauret Modolo
ENV R_PKGS R=~4.0.0 \
R-mathlib=~4.0.0 \
R-dev=~4.0.0
ENV R_DEPS g++ \
libxml2-dev \
make \
cmake \
linux-headers \
cairo-dev \
libxmu-dev \
pango-dev \
perl \
tiff-dev \
gcc \
gfortran \
icu-dev \
libjpeg-turbo \
libpng-dev \
openblas-dev \
pcre-dev \
readline-dev \
xz-dev \
zlib-dev \
bzip2-dev \
curl-dev \
libexecinfo-dev \
git
RUN echo "http://ftp.acc.umu.se/mirror/alpinelinux.org/v3.11/main" > /etc/apk/repositories && \
echo "http://ftp.acc.umu.se/mirror/alpinelinux.org/v3.11/community" >> /etc/apk/repositories && \
sed -i -e 's/v[[:digit:]]\..*\//edge\//g' /etc/apk/repositories && \
apk add --update --no-cache ${R_PKGS} ${R_DEPS}
CMD ["R", "--no-save"]
#!/bin/sh
docker pull lbmc/r-base:4.0.0
docker build src/.docker_modules/r/4.0.0 -t 'lbmc/r-base:4.0.0'
docker push lbmc/r-base:4.0.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment