mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-09 12:19:09 +00:00
fix: no need to copy ssh config into .ssh
shell script already does that
This commit is contained in:
parent
a6cbfa045d
commit
f9df51da18
1 changed files with 2 additions and 4 deletions
|
@ -14,15 +14,13 @@ RUN useradd -m builder && \
|
|||
RUN mkdir -p /home/builder/.ssh && \
|
||||
touch /home/builder/.ssh/known_hosts
|
||||
|
||||
COPY . /home/builder/packaging_scripts
|
||||
|
||||
RUN mv /home/builder/packaging_scripts/ssh_config /home/builder/.ssh/config
|
||||
|
||||
RUN chown -R builder:builder /home/builder/.ssh && \
|
||||
chmod 600 /home/builder/.ssh/* -R && \
|
||||
chown -R builder:builder /home/builder/packaging_scripts && \
|
||||
chmod +x /home/builder/packaging_scripts/*.sh
|
||||
|
||||
COPY . /home/builder/packaging_scripts
|
||||
|
||||
USER builder
|
||||
WORKDIR /home/builder/packaging_scripts
|
||||
|
||||
|
|
Loading…
Reference in a new issue