Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions samples/.devcontainer/mariner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment thread
b-tsammons marked this conversation as resolved.
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"]
CMD ["/bin/sh", "-c", "/usr/sbin/sshd -D"]
Loading