an update..
This commit is contained in:
parent
6b3e4be0ef
commit
adf0bd177a
1 changed files with 9 additions and 12 deletions
11
Dockerfile
11
Dockerfile
|
|
@ -13,8 +13,8 @@ WORKDIR .
|
|||
# Do this because next steps require some software packages to be installed
|
||||
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
|
||||
|
||||
#COPY root/.ssh /root/.ssh
|
||||
|
||||
# Install Rust (Copied from the official Rust Dockerfile)
|
||||
|
|
@ -37,9 +37,6 @@ RUN \
|
|||
cargo --version; \
|
||||
rustc --version;
|
||||
|
||||
# Install Rust based applications
|
||||
# ...
|
||||
|
||||
# Setup environment
|
||||
RUN \
|
||||
apk update; \
|
||||
|
|
@ -48,8 +45,8 @@ RUN \
|
|||
|
||||
WORKDIR /home/hanez
|
||||
|
||||
# Use without volumes in the compose file only!
|
||||
#RUN git clone https://git.xw3.org/hanez/home.git .
|
||||
|
||||
#COPY home/hanez/.ssh /home/hanez/.ssh
|
||||
|
||||
RUN \
|
||||
|
|
@ -66,8 +63,8 @@ RUN \
|
|||
useradd -M -u 1001 -U -s /bin/bash -d /home/one one; \
|
||||
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
|
||||
ENTRYPOINT ["ash"]
|
||||
ENTRYPOINT ["sh"]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue