Skip to content

Commit

Permalink
Merge branch 'master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
kwankyu committed Oct 29, 2024
2 parents becaea6 + 223edba commit 9feec1f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Multi-stage Dockerfile for slim Sage
# https://docs.docker.com/build/building/multi-stage

FROM ghcr.io/sagemath/sage/sage-ubuntu-jammy-minimal-with-targets:latest AS target
FROM ghcr.io/sagemath/sage/sage-ubuntu-jammy-minimal-with-targets:dev AS target

# Resolve symbolic links to recreate them later
RUN readlink /sage/prefix >> /sage/prefix_link
Expand All @@ -20,8 +20,7 @@ RUN find /sage -type d -name "__pycache__" -exec rm -rf {} +
# Remove all .c .cpp files corresponding to .pyx files
RUN find /sage -name "*.pyx" | sed 's/\(.*\)[.]pyx$/\1.c \1.cpp/' | xargs rm -f +

FROM ubuntu:jammy
# or FROM ghcr.io/sagemath/sage/sage-ubuntu-jammy-minimal-with-system-packages:dev
FROM ghcr.io/sagemath/sage/sage-ubuntu-jammy-minimal-with-system-packages:dev

USER root

Expand Down

0 comments on commit 9feec1f

Please sign in to comment.