mirror of
https://github.com/CompeyDev/lune-packaging.git
synced 2025-01-09 04:09:09 +00:00
this might work
This commit is contained in:
parent
32d53fb452
commit
83be432586
1 changed files with 2 additions and 8 deletions
|
@ -14,19 +14,13 @@ RUN useradd -m builder && \
|
|||
RUN mkdir -p /home/builder/.ssh && \
|
||||
touch /home/builder/.ssh/known_hosts
|
||||
|
||||
COPY . /git_src
|
||||
COPY . /home/builder/packaging_scripts
|
||||
|
||||
RUN ls /git_src
|
||||
|
||||
RUN cp /git_src/package/aur/ssh_config /home/builder/.ssh/config
|
||||
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
|
||||
|
||||
RUN mkdir /home/builder/packaging_scripts && cd /git_src
|
||||
|
||||
COPY publish.sh utils.sh *.PKGBUILD /home/builder/packaging_scripts
|
||||
|
||||
USER builder
|
||||
WORKDIR /home/builder
|
||||
|
||||
|
|
Loading…
Reference in a new issue