Skip to content

Commit

Permalink
update to miniforge3 (#16)
Browse files Browse the repository at this point in the history
* update to miniforge

* typo

* clean also needs a yes

* further updates to mamba

* v4

* blank removed
  • Loading branch information
ReimarBauer authored Jan 30, 2024
1 parent e9e60e3 commit 753d79a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build image
run: |
Expand Down
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Set the base image ubuntu with mamba
FROM condaforge/mambaforge
FROM condaforge/miniforge3

# Sets which branch to fetch requirements from
ARG BRANCH
Expand Down Expand Up @@ -39,14 +39,14 @@ RUN wget -O /meta.yaml -q https://raw.githubusercontent.com/Open-MSS/MSS/${BRANC
| sed -e "s/menuinst.*//" \
| sed -e "s/.*://" > reqs.txt \
&& cat development.txt >> reqs.txt \
&& echo pyvirtualdisplay >> reqs.txt \
&& mamba create -y -n mss-${BRANCH}-env --file reqs.txt \
&& mamba create -y -n mssenv --file reqs.txt \
&& conda clean --all \
&& mamba clean -y --all \
&& rm reqs.txt \
&& cp /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh
&& cp /opt/conda/etc/profile.d/conda.sh /etc/profile.d/conda.sh \
&& cp /opt/conda/etc/profile.d/mamba.sh /etc/profile.d/mamba.sh

# execute /etc/profile also in non-interactive use
ENV BASH_ENV /etc/profile.d/conda.sh
ENV BASH_ENV /etc/profile.d/mamba.sh
# default command to start when run
CMD [ "/bin/bash", "--login" ]

0 comments on commit 753d79a

Please sign in to comment.