Closed isakhammer closed 2 years ago
Hi @isakhammer, I see in the error log that the julia version in the container is 1.4.1. GridapMakie requires 1.6. Maybe you can try downloading and installing >1.6 julia in the container.
Thanks!! It now worked :) For those interested, here is the Dockerfile with updated julia version.
#Dockerfile
FROM ubuntu:20.04
SHELL ["/bin/bash", "-c"]
ENV TZ=Europe/Oslo
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
# Essentials
RUN apt-get update
RUN apt-get -y upgrade
RUN apt-get install -yq apt-utils dialog
RUN apt-get install -yq build-essential software-properties-common
RUN apt-get -y install curl
RUN apt-get update
# Julia
RUN apt-get install -yq julia
RUN julia -e 'using Pkg; Pkg.add(["UpdateJulia"])'
RUN julia -e 'using UpdateJulia; update_julia() '
RUN julia -e 'using Pkg; Pkg.add(["Gridap", "GridapMakie", "GLMakie", "FileIO"])'
I am trying to install GridapMakie in a docker container and I get this error message.
using this minimal Dockerfile
Not sure why this is the case since I can easily do the installation on my host operating system.
Any idea why this should be the case?