docker ssh client moved to root image
Some checks failed
/ build-docker-image (push) Failing after 9s
Some checks failed
/ build-docker-image (push) Failing after 9s
This commit is contained in:
@@ -12,14 +12,13 @@ RUN chmod +x /app/scripts -R
|
|||||||
RUN ln -s /app/scripts/loadenv /usr/local/bin/loadenv
|
RUN ln -s /app/scripts/loadenv /usr/local/bin/loadenv
|
||||||
RUN ln -s /app/scripts/remote-connect /usr/local/bin/remote-connect
|
RUN ln -s /app/scripts/remote-connect /usr/local/bin/remote-connect
|
||||||
RUN ln -s /app/scripts/remote-connect /usr/local/bin/remote-get-folder-size
|
RUN ln -s /app/scripts/remote-connect /usr/local/bin/remote-get-folder-size
|
||||||
RUN addgroup -g 1001 -S borg && adduser -u 1001 -S borg -G borg
|
|
||||||
|
|
||||||
USER borg
|
#RUN addgroup -g 1001 -S borg && adduser -u 1001 -S borg -G borg
|
||||||
|
#USER borg
|
||||||
|
#WORKDIR /app
|
||||||
|
|
||||||
WORKDIR /home/borg
|
RUN echo "source /usr/local/bin/loadenv" > ~/root/.bash_profile
|
||||||
|
RUN echo "source /usr/local/bin/loadenv" > ~/root/.bashrc
|
||||||
RUN echo "source /usr/local/bin/loadenv" > ~/.bash_profile
|
|
||||||
RUN echo "source /usr/local/bin/loadenv" > ~/.bashrc
|
|
||||||
|
|
||||||
ENTRYPOINT ["bash" , "-c", "borg $0"]
|
ENTRYPOINT ["bash" , "-c", "borg $0"]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user