Ask Your Question

danielbarter's profile - activity

2023-06-02 15:41:54 +0200 received badge  Taxonomist
2022-05-04 11:25:46 +0200 received badge  Notable Question (source)
2016-03-30 19:11:13 +0200 received badge  Popular Question (source)
2015-12-28 09:24:37 +0200 received badge  Student (source)
2015-12-25 20:11:09 +0200 asked a question Trouble building sage from source inside a docker container

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 && \
    make

This does not work. Does anyone have any ideas?