this is a replication of the repo2docker tests/conda/downgrade test (environment files are unmodified),
which is dramatically slower after upgrading mamba to 2.6.
Two stages:
-
install initial frozen environment (
@explicitfile, no solve):
| apiVersion: batch/v1 | |
| kind: Job | |
| metadata: | |
| name: s3-clone | |
| spec: | |
| parallelism: 1 | |
| template: | |
| metadata: | |
| labels: | |
| app: cloner |
| FROM python:3.13-slim | |
| RUN pip install boto3 | |
| COPY s3rmrf.py /usr/local/bin/s3rmrf.py |
| apiVersion: batch/v1 | |
| kind: Job | |
| metadata: | |
| name: s3-delete | |
| spec: | |
| parallelism: 1 | |
| template: | |
| metadata: | |
| labels: | |
| app: deleter |
| <html> | |
| <head> | |
| <title>test</title> | |
| </head> | |
| <body> | |
| <div id="out"></div> | |
| <script type="text/javascript"> | |
| function onMessage(evt) { | |
| const msg = JSON.parse(evt.data); | |
| console.log(msg); |
| import json | |
| import secrets | |
| import sys | |
| import time | |
| import uuid | |
| from copy import deepcopy | |
| from dataclasses import asdict, dataclass | |
| from functools import partial, wraps | |
| from pathlib import Path | |
| from subprocess import check_output |
| services: | |
| proxy: | |
| image: ghcr.io/minrk/configurable-http-proxy:custom-dump-netstat | |
| # build: | |
| # context: .. | |
| command: | |
| - --error-target=http://error-target | |
| - --default-target=http://169.254.0.0 | |
| - --log-level=debug | |
| environment: |
| FROM python:3.13-alpine | |
| RUN apk add --no-cache net-tools | |
| RUN pip install tornado | |
| COPY main.py /main.py | |
| CMD ["python3", "main.py"] |