lot of stuff on this commit, no commited docker environement since a while
This commit is contained in:
@@ -7,6 +7,8 @@ RUN apk update && apk --no-cache add shadow && \
|
||||
RUN find / -group 1000 -exec chgrp -h node {} \;
|
||||
RUN find / -user 1000 -exec chown -h node {} \;
|
||||
|
||||
RUN apk add --no-cache openssh sshpass
|
||||
|
||||
ARG USER_UID
|
||||
ARG USER_UNAME
|
||||
ARG USER_GID
|
||||
@@ -23,6 +25,8 @@ USER ${USER_UNAME}
|
||||
COPY ./bashrc /home/${USER_UNAME}/.bashrc
|
||||
COPY ./inputrc /home/${USER_UNAME}/.inputrc
|
||||
|
||||
|
||||
|
||||
COPY ./client-entrypoint.sh /usr/local/bin
|
||||
USER root
|
||||
RUN chmod +x /usr/local/bin/client-entrypoint.sh
|
||||
|
Reference in New Issue
Block a user