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?
You mentioned that the above doesn't work. Is there a specific error?