Trouble building sage from source inside a docker container

asked 2015-12-25 18:47:52 +0200

danielbarter gravatar image

I am interested in building Sage from source inside of a Docker container. I am aware of the "official" Docker images on the sagemath git, but I want to do something simpler, like this:

FROM debian:latest

RUN apt-get update && \
    apt-get install -y sudo wget binutils gcc make m4 perl tar git && \
    adduser --shell /bin/bash --disabled-password --gecos "" sage && \
    adduser sage sudo && \
    echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers

USER sage

RUN cd ~ && \
    git clone (the correct link) && \     #i am not allowed to post links
    cd ~/sage && \

This does not work. Does anyone have any ideas?

edit retag flag offensive close merge delete


You mentioned that the above doesn't work. Is there a specific error?

pircks gravatar imagepircks ( 2015-12-26 05:14:27 +0200 )edit