Skip to content

Commit

Permalink
test/docker/Dockerfile: Allow cp -ln to fail
Browse files Browse the repository at this point in the history
New GNU coreutils makes --no-clobber signal failure when skipping files.
  • Loading branch information
CyberShadow committed Oct 29, 2023
1 parent 18f343f commit cf327ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/docker/Dockerfile
Expand Up @@ -11,7 +11,7 @@ RUN useradd -u ${aconfmgr_uid} -m aconfmgr
RUN printf '%s\n%s\n' 'aconfmgr ALL=(ALL) NOPASSWD:ALL' 'Defaults closefrom_override' > /etc/sudoers.d/aconfmgr

COPY --from=builder /aconfmgr-packages/ /aconfmgr-packages/
RUN cp -ln /aconfmgr-packages/cache/* /var/cache/pacman/pkg/
RUN cp -ln /aconfmgr-packages/cache/* /var/cache/pacman/pkg/ || true

RUN mkdir /aconfmgr-repo/
RUN cp /aconfmgr-packages/aur/* /aconfmgr-repo/
Expand Down

0 comments on commit cf327ad

Please sign in to comment.