File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ COPY --from=mikefarah/yq:4.27.2 /usr/bin/yq /usr/bin/yq
1212RUN yq eval '.base[],.extras[],.docker.centos7[]' packages.yml > packages.list
1313
1414RUN ARCH=$(uname -m) \
15- && sort -u packages.list | xargs repotrack -p ${ARCH} \
15+ && while read -r line; do repotrack -p ${ARCH} ${line}; done <<<"$(sort -u packages.list)" \
1616 && createrepo -d ${ARCH}
1717
1818FROM scratch
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ COPY --from=mikefarah/yq:4.27.2 /usr/bin/yq /usr/bin/yq
1616RUN yq eval '.base[],.extras[],.docker.centos8[]' packages.yml > packages.list
1717
1818RUN ARCH=$(uname -m) \
19- && sort -u packages.list | xargs repotrack --destdir ${ARCH} \
19+ && while read -r line; do repotrack --destdir ${ARCH} ${line}; done <<<"$(sort -u packages.list)" \
2020 && createrepo_c ${ARCH} \
2121 && repo2module -s stable ${ARCH} ${ARCH}/modules.yaml \
2222 && modifyrepo_c --mdtype=modules ${ARCH}/modules.yaml ${ARCH}/repodata
You can’t perform that action at this time.
0 commit comments