Wuhuuu...
This commit is contained in:
parent
7b24d98abb
commit
26f54c0770
2 changed files with 13 additions and 11 deletions
11
Dockerfile
11
Dockerfile
|
|
@ -13,7 +13,8 @@ WORKDIR /root
|
|||
RUN apk add --no-cache alpine-sdk ca-certificates perl
|
||||
|
||||
# Install Rust (Copied from the official Rust Dockerfile)
|
||||
RUN set -eux; \
|
||||
RUN \
|
||||
set -eux; \
|
||||
apkArch="$(apk --print-arch)"; \
|
||||
case "$apkArch" in \
|
||||
x86_64) rustArch='x86_64-unknown-linux-musl'; rustupSha256='e6599a1c7be58a2d8eaca66a80e0dc006d87bbcf780a58b7343d6e14c1605cb2' ;; \
|
||||
|
|
@ -35,14 +36,16 @@ RUN set -eux; \
|
|||
# ...
|
||||
|
||||
# Setup environment
|
||||
RUN apk update; \
|
||||
RUN \
|
||||
apk update; \
|
||||
apk upgrade --available; \
|
||||
apk add --no-cache bash byobu helix mc openssh shadow tmux vim zsh zsh-vcs neovim
|
||||
|
||||
RUN chsh -s /bin/zsh root; \
|
||||
RUN \
|
||||
chsh -s /bin/zsh root; \
|
||||
useradd -M -u 1000 -U -s /bin/zsh -d /home/hanez hanez; \
|
||||
useradd -M -u 1001 -U -s /bin/bash -d /home/one one; \
|
||||
useradd -M -u 1002 -U -s /bin/zsh -d /home/two two
|
||||
useradd -M -u 1002 -U -s /bin/ash -d /home/two two
|
||||
|
||||
# This is obsolete since I use docker-compose for managing the container
|
||||
ENTRYPOINT ["bash"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue