Dockerfile aktualisiert

This commit is contained in:
2024-08-18 13:16:22 +02:00
parent 1550f238ce
commit 669d3dfbbc

View File

@@ -27,8 +27,7 @@ RUN chmod +x /tmp/installscript.sh && \
/tmp/installscript.sh
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y && \
mv /root/.cargo /opt/ && \
echo "export PATH=\"/opt/.cargo/bin:${PATH}\"" >> /root/.bashrc
mv /root/.cargo /opt/
RUN mkdir -p /run/sshd && \
sed -i "/#Port 22/c\Port 8022" /etc/ssh/sshd_config && \
@@ -45,6 +44,7 @@ ENV GID=100
ENV UMASK=0000
ENV DATA_PERM=770
ENV USER="slackware"
ENV PATH="$PATH:/opt/.cargo/bin"
RUN mkdir -p $DATA_DIR && \
useradd -d $DATA_DIR -s /bin/bash $USER && \