arch
This commit is contained in:
parent
5b15cdda6f
commit
c615b8d7e3
1 changed files with 2 additions and 3 deletions
|
@ -9,14 +9,13 @@ RUN useradd -ms /bin/bash dev && \
|
||||||
|
|
||||||
ARG SSH_KEY
|
ARG SSH_KEY
|
||||||
RUN mkdir -p /home/dev/.ssh && \
|
RUN mkdir -p /home/dev/.ssh && \
|
||||||
|
ssh-keygen -A && \
|
||||||
echo "$SSH_KEY" >> /home/dev/.ssh/authorized_keys && \
|
echo "$SSH_KEY" >> /home/dev/.ssh/authorized_keys && \
|
||||||
chown -R dev:dev /home/dev/.ssh && \
|
chown -R dev:dev /home/dev/.ssh && \
|
||||||
chmod 600 /home/dev/.ssh/authorized_keys
|
chmod 600 /home/dev/.ssh/authorized_keys
|
||||||
|
|
||||||
RUN git clone https://git.tavo.one/tavo/dotfiles /home/dev/.config && \
|
RUN git clone https://git.tavo.one/tavo/dotfiles /home/dev/.config && \
|
||||||
echo ". ~/.config/shell/env-min" >> /home/dev/.profile && \
|
echo ". ~/.config/shell/env-min" >> /home/dev/.bash_profile && \
|
||||||
echo ". ~/.config/shell/env-min" >> /home/dev/.bashrc && \
|
|
||||||
echo ". ~/.config/shell/bashrc" >> /home/dev/.profile && \
|
|
||||||
echo ". ~/.config/shell/bashrc" >> /home/dev/.bashrc && \
|
echo ". ~/.config/shell/bashrc" >> /home/dev/.bashrc && \
|
||||||
chown -R dev:dev /home/dev
|
chown -R dev:dev /home/dev
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue