fix hadolint reported issues

This commit is contained in:
Karol Wypchlo 2022-03-31 12:18:26 +02:00
parent 6f1c1af342
commit fbdd689669
No known key found for this signature in database
GPG Key ID: B515DE9EEBE241E1
1 changed files with 2 additions and 2 deletions

View File

@ -12,5 +12,5 @@ FROM nebulouslabs/sia:1.5.6
COPY --from=sia-builder /go/bin/ /usr/bin/
RUN mv /usr/bin/skyd /usr/bin/siad || true && \
mv /usr/bin/skyc /usr/bin/siac || true
RUN if [[ -f "/usr/bin/skyd" ]]; then mv /usr/bin/skyd /usr/bin/siad; fi && \
if [[ -f "/usr/bin/skyc" ]]; then mv /usr/bin/skyc /usr/bin/siac; fi