File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1+ * .yml
Original file line number Diff line number Diff line change @@ -37,7 +37,6 @@ RUN cd /actions-runner && \
3737 chown -R nonroot:nonroot /actions-runner
3838
3939# Fix for Fedora not finding libstlink.so.1
40- ENV LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64
4140
4241RUN pip install PyYAML
4342COPY register-runner.py /actions-runner
@@ -46,6 +45,7 @@ RUN chmod +x /actions-runner/register-runner.py
4645ENV PATH="/actions-runner:${PATH}"
4746
4847USER nonroot
48+ ENV LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64
4949
5050WORKDIR /actions-runner
5151
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ if podman ps -aq -f name="^${CONTAINER_NAME}$" | grep -q .; then
99 podman rm " ${CONTAINER_NAME} " || true
1010fi
1111
12- # --user "$(id -u):$(id -g) " \
13- # --userns=keep-id \
14- docker run --rm --name " ${CONTAINER_NAME} " \
12+ podman run --rm --name " ${CONTAINER_NAME} " \
13+ --user " $( id -u ) : $( id -g ) " \
14+ --userns=keep-id \
1515 --cap-add=SYS_RAWIO --cap-add=CAP_MKNOD \
1616 -v " $( pwd) /chips.yml:/actions-runner/chips.yml" \
1717 --device /dev/bus/usb -it ghcr.io/osirisrtos/hardware-ci:main \
You can’t perform that action at this time.
0 commit comments