1
0
mirror of https://gitlab.com/Anson-Projects/projects.git synced 2025-07-24 23:21:24 +00:00

Moon cannon

This commit is contained in:
2024-09-26 06:49:18 +00:00
parent 6d6256889d
commit cb8a65c412
12 changed files with 2179 additions and 549 deletions

View File

@@ -2,7 +2,7 @@ FROM ubuntu:22.04
ARG DEBIAN_FRONTEND=noninteractive
ENV JULIA_VERSION=1.10.2 \
ENV JULIA_VERSION=1.10.5 \
JULIA_MAJOR_VERSION=1.10 \
JULIA_PATH=/usr/local/julia
@@ -12,7 +12,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
python3 python3-pip python3-dev \
r-base \
gcc g++ \
wget curl tar\
wget curl tar \
openssh-client \
&& rm -rf /var/lib/apt/lists/*
# Use a RUN command for architecture detection and conditional logic
@@ -23,8 +24,7 @@ RUN wget https://github.com/quarto-dev/quarto-cli/releases/download/v1.4.550/qua
&& ln -s /opt/quarto/bin/quarto /usr/local/bin/quarto \
&& rm -rf quarto.tar.gz /opt/quarto-1.4.550
RUN python3 -m pip install jupyter
RUN python3 -m pip install jupyter webio_jupyter_extension jupyter-cache
RUN curl -fsSL "https://julialang-s3.julialang.org/bin/linux/$(if [ "$(uname -m)" = "x86_64" ]; then echo "x64"; else echo "aarch64"; fi)/${JULIA_MAJOR_VERSION}/julia-${JULIA_VERSION}-linux-$(if [ "$(uname -m)" = "x86_64" ]; then echo "x86_64"; else echo "aarch64"; fi).tar.gz" -o julia.tar.gz \
&& tar -xzf julia.tar.gz -C /tmp \