File tree 2 files changed +6
-2
lines changed
2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 3
3
* -build- *
4
4
* _cache
5
5
.github
6
+ tests
7
+ . *
Original file line number Diff line number Diff line change @@ -22,6 +22,10 @@ RUN curl -o miniconda_installer.sh https://repo.anaconda.com/miniconda/Miniconda
22
22
# Install conda packages (geant4 is not available for aarch64 at the time of writing)
23
23
RUN mamba install -y -c conda-forge \
24
24
cmake geant4 \
25
+ # remove data package to reduce image size (we should not install them in the first place, how?)
26
+ # && mamba remove -y $(mamba list | grep 'geant4-data' | awk '{print $1}') \
27
+ && rm -rf /opt/conda/share/Geant4/data/* \
28
+ && mamba remove -y $(mamba list | grep 'geant4-data' | awk '{print $1}' ) \
25
29
&& mamba clean -ya
26
30
27
31
# Copy files
@@ -30,8 +34,6 @@ COPY . /source
30
34
# Build and install
31
35
RUN cd source && python -m pip install .
32
36
33
- # ENV PYTHONPATH=/opt/conda/lib:${PYTHONPATH}
34
-
35
37
RUN echo "#!/bin/bash\n exec /opt/conda/bin/conda run --no-capture-output -n base /opt/conda/bin/python \"\$ @\" " > /usr/local/bin/entrypoint.sh \
36
38
&& chmod +x /usr/local/bin/entrypoint.sh
37
39
You can’t perform that action at this time.
0 commit comments