fix: use xargs -n1 to spawn individual go install

This commit is contained in:
Bastien Riviere 2024-05-02 18:03:55 +02:00
parent 97123369e3
commit aa0deb29f5
Signed by: babariviere
GPG key ID: 4E5F0839249F162E

View file

@ -12,7 +12,7 @@ RUN apk update && \
RUN rm /extra-packages RUN rm /extra-packages
COPY go-packages / COPY go-packages /
RUN grep -v '^#' /go-packages | xargs go install RUN grep -v '^#' /go-packages | xargs -n1 go install
RUN rm /go-packages RUN rm /go-packages
RUN mv /root/go/bin/* /usr/local/bin/ RUN mv /root/go/bin/* /usr/local/bin/