Skip to content

Commit 4ed9bc3

Browse files
committed
Adjust
1 parent 9852996 commit 4ed9bc3

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
*.yml

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

4241
RUN pip install PyYAML
4342
COPY register-runner.py /actions-runner
@@ -46,6 +45,7 @@ RUN chmod +x /actions-runner/register-runner.py
4645
ENV PATH="/actions-runner:${PATH}"
4746

4847
USER nonroot
48+
ENV LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib64
4949

5050
WORKDIR /actions-runner
5151

config.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ if podman ps -aq -f name="^${CONTAINER_NAME}$" | grep -q .; then
99
podman rm "${CONTAINER_NAME}" || true
1010
fi
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 \

0 commit comments

Comments
 (0)