Closed juan-morales closed 5 years ago
forgot to say I am running Linux Mint 64bits
Finally, I ended Up using this Dockerfile
FROM niklasheer/arch-python:latest
# Switch user to be able to use yay
USER user
# Get the keys
RUN gpg --recv-keys --keyserver hkp://pgp.mit.edu EF5430F071E1B235 && \
gpg --recv-keys --keyserver hkp://pgp.mit.edu C2BF0BC433CFC8B3 && \
gpg --recv-keys --keyserver hkp://pgp.mit.edu 702353E0F7E48EDB
# Install packages from the AUR (changed php56 for php5.6)
RUN yay --noconfirm -S php5.6
# RUN yay --noconfirm -S swift-bin # doesn't work atm due to faulty icu55 package
# Switch back
USER root
# Programming languages (check the -Syyin pypy and --force in nodejs)
RUN pacman --noconfirm -Syy pypy
RUN pacman --noconfirm -S ruby
RUN pacman --noconfirm -S php
RUN pacman --noconfirm -S rust
RUN pacman --noconfirm -S go
RUN pacman --noconfirm -S --force nodejs
RUN pacman --noconfirm -S lua
RUN pacman --noconfirm -S julia
RUN pacman --noconfirm -S nim
RUN pacman --noconfirm -S crystal
RUN pacman --noconfirm -S kotlin
# Install R
RUN pacman --noconfirm -S r
# Install libc6 (new one)
RUN pacman --noconfirm -S glibc
# Install R packages
RUN R -e "install.packages('ggplot2', repos='http://cran.rstudio.com/')"
COPY requirements.txt /tmp/
RUN pip install -r /tmp/requirements.txt
# Fix the problem with open_basedir restriction while running php56 (changed the php.ini file path)
RUN sed -i '/open_basedir/d' /etc/php/php.ini
ADD . /usr/src/app
WORKDIR /usr/src/app
ENV PYTHONPATH /usr/src/app
COPY ./comparison.py /
CMD ["/comparison.py"]
I left some notes in the comments inside the code.
I could make the project succesfully. Now I am having problems executing it. as there are some errors in the comparison.py script. I am debuging it too.
Thank you for your comments. I haven't run it in a while, but arch is a moving target so sometimes it can just break.
Could you run it successfully in the meantime?
Hello Niklas, I was trying to build the project but I got several error messages. After repeating the command again and again, finally I gont to the instance where the same error appearded.
Can you help me out with this? ( I already have PASCAL code to contribute to the repo, but cannot build it)
Errors (command runs are separate by the equal sign) :