rems 0.0.15

A finite difference time domain (FDTD) electromagnetic simulator.
FROM registry.fedoraproject.org/fedora:37
LABEL maintainer="Randy Barlow <randy@electronsweatshop.com>"

RUN dnf install -y https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-37.noarch.rpm
RUN dnf upgrade -y
RUN dnf install -y \
	ffmpeg \
	gcc \
	# For cargo-audit
	openssl-devel \
	python3-bson \
	python3-devel \
	python3-matplotlib

# We need Rust nightly
RUN curl -s https://sh.rustup.rs -sSf | sh -s -- -y
RUN source /root/.cargo/env
ENV PATH /root/.cargo/bin:$PATH
RUN rustup install nightly
RUN cd /rems && rustup override set nightly

RUN cargo install cargo-audit
# This is useful for finding all the licenses of the bundled libraries
RUN cargo install cargo-license

CMD ["bash"]