diff --git a/echo-side/containers/mamba_env/Dockerfile b/echo-side/containers/mamba_env/Dockerfile index 99f426f..2b146e6 100644 --- a/echo-side/containers/mamba_env/Dockerfile +++ b/echo-side/containers/mamba_env/Dockerfile @@ -1,16 +1,19 @@ -FROM mambaorg/micromamba +FROM ubuntu LABEL org.opencontainers.image.source https://github.com/lsst-uk/csd3-echo-somerville LABEL org.opencontainers.image.description="Code to backup and curate LSST-UK data from CSD3 to Echo." LABEL org.opencontainers.image.licenses="Apache-2.0" -COPY environment.yaml /environment.yaml +COPY environment.yaml /environment.yaml +USER root +RUN apt-get update && apt-get install -y git +USER mambauser RUN micromamba --version RUN micromamba env create --name lsst-uk --file=/environment.yaml -SHELL ["conda", "run", "-n", "lsst-uk", "/bin/bash", "-c"] +SHELL ["micromamba", "run", "-n", "lsst-uk", "/bin/bash", "-c"] RUN git clone https://github.com/lsst-uk/csd3-echo-somerville.git diff --git a/environment.yaml b/environment.yaml index e5c05ba..b79d586 100644 --- a/environment.yaml +++ b/environment.yaml @@ -394,4 +394,4 @@ dependencies: - zipp=3.17.0=pyhd8ed1ab_0 - zlib=1.2.13=hd590300_5 - zstd=1.5.5=hfc55251_0 - - urllib3==2.0.7 + - urllib3