-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Here is how to test rcppsimdjson.
Install docker.
Grab rcppsimdjson.
Create a file called 'Dockerfile'. You may put this file inside the root rcppsimdjson repository.
The file may have the following content:
FROM ubuntu:18.04 ARG USER_NAME ARG USER_ID ARG GROUP_ID
RUN apt-get update -qq RUN apt-get install software-properties-common -qq RUN DEBIAN_FRONTEND="noninteractive" apt-get -y install tzdata g++ gcc RUN add-apt-repository -y ppa:c2d4u.team/c2d4u4.0+ RUN apt-get -q update RUN apt-get install curl sudo -qq RUN curl -OLs https://eddelbuettel.github.io/r-ci/run.sh && chmod 0755 run.sh RUN add-apt-repository -y ppa:ubuntu-toolchain-r/test RUN ./run.sh install_aptget r-cran-rcpp r-cran-bit64 r-cran-tinytest
RUN addgroup --gid $GROUP_ID user; exit 0 RUN adduser --disabled-password --gecos '' --uid $USER_ID --gid $GROUP_ID $USER_NAME; exit 0 RUN echo "$USER_NAME:$USER_NAME" | chpasswd && adduser $USER_NAME sudo RUN echo '----->' RUN echo 'root:Docker!' | chpasswd ENV TERM xterm-256color USER $USER_NAME