Adjusted all working routes, full docker pipeline verified, added extra validations for docker, reduced julia environment, tested run succesful
This commit is contained in:
+10
-4
@@ -1,4 +1,6 @@
|
||||
FROM ubuntu:22.04
|
||||
# Fully-qualified base image (docker.io/...) so Podman/Buildah never prompts for a
|
||||
# short-name registry. See "Troubleshooting" in README.md.
|
||||
FROM docker.io/library/ubuntu:22.04
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV TZ=UTC
|
||||
@@ -18,9 +20,9 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# ============================================================
|
||||
# Julia 1.11 (matches environment/Manifest.toml julia_version = "1.11.3")
|
||||
# Julia 1.11 (matches environment/Manifest.toml julia_version = "1.11.7")
|
||||
# ============================================================
|
||||
RUN curl -fsSL https://julialang-s3.julialang.org/bin/linux/x64/1.11/julia-1.11.3-linux-x86_64.tar.gz \
|
||||
RUN curl -fsSL https://julialang-s3.julialang.org/bin/linux/x64/1.11/julia-1.11.7-linux-x86_64.tar.gz \
|
||||
| tar -xz -C /usr/local --strip-components=1
|
||||
|
||||
# ============================================================
|
||||
@@ -40,7 +42,11 @@ COPY . .
|
||||
# ============================================================
|
||||
# Julia environment
|
||||
# ============================================================
|
||||
RUN julia --project=/app/environment -e 'using Pkg; Pkg.resolve(); Pkg.instantiate(); Pkg.precompile()'
|
||||
# Instantiate from the committed Manifest.toml (no resolve: the lock is complete,
|
||||
# and resolving against a fresh registry is fragile). No explicit precompile:
|
||||
# GLMakie is a GUI-only dependency that fails to precompile headlessly, but the
|
||||
# pipeline never loads it, so it must not fail the build.
|
||||
RUN julia --project=/app/environment -e 'using Pkg; Pkg.instantiate()'
|
||||
|
||||
# ============================================================
|
||||
# Environment variables
|
||||
|
||||
Reference in New Issue
Block a user