diff --git a/samples/.devcontainer/mariner/Dockerfile b/samples/.devcontainer/mariner/Dockerfile index 7fa3cc9..370c7bf 100644 --- a/samples/.devcontainer/mariner/Dockerfile +++ b/samples/.devcontainer/mariner/Dockerfile @@ -25,13 +25,15 @@ RUN tdnf install -y openssh-server nc \ && echo 'root:password' | chpasswd \ && sed -i 's/\#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config +# Install libmamba resolver +RUN conda install -n base conda-libmamba-solver # Install PySpark in the base Conda environment ENV SPARK_VERSION=3.4.1 -RUN conda install -c conda-forge pyspark==$SPARK_VERSION +RUN conda install -c conda-forge pyspark==$SPARK_VERSION --solver=libmamba # Generate new host keys RUN ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key && \ chmod 600 /etc/ssh/ssh_host_rsa_key # Restart SSH daemon -CMD ["/bin/sh", "-c", "/usr/sbin/sshd -D"] \ No newline at end of file +CMD ["/bin/sh", "-c", "/usr/sbin/sshd -D"]