Skip to content

Commit

Permalink
adjusted dockerfile again
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexPatrie committed Jan 7, 2024
1 parent c644ba9 commit adbe15e
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
29 changes: 14 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,21 +22,20 @@ RUN wget https://download.opensuse.org/repositories/home:/dilawar/xUbuntu_22.04/
# Install the downloaded package
RUN dpkg -i smoldyn_2.64.4-1+2.1_amd64.deb

# Set environment variables to avoid user interaction during package installation
ENV DEBIAN_FRONTEND=noninteractive

# RUN apt-get update && apt-get install -y \
# build-essential \
# wget \
# libgl1-mesa-dev \
# libglu1-mesa-dev \
# # && rm -rf /var/lib/apt/lists/*

# RUN echo 'deb http://download.opensuse.org/repositories/home:/dilawar/Debian_11/ /' | tee /etc/apt/sources.list.d/home:dilawar.list
# RUN curl -fsSL https://download.opensuse.org/repositories/home:dilawar/Debian_11/Release.key | gpg --dearmor | tee /etc/apt/trusted.gpg.d/home_dilawar.gpg > /dev/null
# RUN apt update
# RUN apt install smoldyn

RUN pip install --upgrade pip \
&& pip install ipython \
&& pip install .
# Update package lists and install Python 3 and pip
RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
&& rm -rf /var/lib/apt/lists/*

# Optional: Create a symlink for python and pip if you want to use `python` and `pip` commands directly
RUN ln -s /usr/bin/python3 /usr/bin/python

#RUN pip install --upgrade pip \
#&& pip install ipython \
#&& pip install .

CMD ["ipython3"]
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ git push --tags
python ../setup.py sdist bdist_wheel
twine check ../dist/*
twine upload ../dist/*
rm -r ../dist && rm -r ../build && rm -r ../core_processes.egg-info
rm -r ../dist && rm -r ../build && rm -r ../biosimulator_processes.egg-info

echo "Version v$version has been published on PyPI and has a git tag."

0 comments on commit adbe15e

Please sign in to comment.