lot of stuff on this commit, no commited docker environement since a while

This commit is contained in:
2022-07-26 23:08:23 +02:00
parent b60aa7fae1
commit c610a39441
15 changed files with 193 additions and 55 deletions

View File

@@ -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