an update..

This commit is contained in:
Johannes Findeisen 2025-06-27 21:29:28 +02:00
commit adf0bd177a

View file

@ -13,8 +13,8 @@ WORKDIR .
# Do this because next steps require some software packages to be installed # Do this because next steps require some software packages to be installed
RUN apk add --no-cache alpine-sdk ca-certificates perl RUN apk add --no-cache alpine-sdk ca-certificates perl
# Use without volumes in the compose file only!
#RUN git clone https://git.xw3.org/hanez/home.git /root #RUN git clone https://git.xw3.org/hanez/home.git /root
#COPY root/.ssh /root/.ssh #COPY root/.ssh /root/.ssh
# Install Rust (Copied from the official Rust Dockerfile) # Install Rust (Copied from the official Rust Dockerfile)
@ -37,9 +37,6 @@ RUN \
cargo --version; \ cargo --version; \
rustc --version; rustc --version;
# Install Rust based applications
# ...
# Setup environment # Setup environment
RUN \ RUN \
apk update; \ apk update; \
@ -48,8 +45,8 @@ RUN \
WORKDIR /home/hanez WORKDIR /home/hanez
# Use without volumes in the compose file only!
#RUN git clone https://git.xw3.org/hanez/home.git . #RUN git clone https://git.xw3.org/hanez/home.git .
#COPY home/hanez/.ssh /home/hanez/.ssh #COPY home/hanez/.ssh /home/hanez/.ssh
RUN \ RUN \
@ -66,8 +63,8 @@ RUN \
useradd -M -u 1001 -U -s /bin/bash -d /home/one one; \ useradd -M -u 1001 -U -s /bin/bash -d /home/one one; \
useradd -M -u 1002 -U -s /bin/ash -d /home/two two useradd -M -u 1002 -U -s /bin/ash -d /home/two two
RUN mkdir /home/xxx RUN mkdir /home/rusty
# This is obsolete since I use docker-compose for managing the container # This is obsolete since I use docker-compose for managing the container
ENTRYPOINT ["ash"] ENTRYPOINT ["sh"]