Closed coldfix closed 4 years ago
Might be related to not using one of the supported environments. I'll check if I can get it to work with one of those.
Ok, update:
It now seems to work by changing the base image, and adding AGENT_TOOLSDIRECTORY
as above:
- FROM debian:buster-slim
+ FROM ubuntu:20.04
+ ARG DEBIAN_FRONTEND=noninteractive
+ ENV AGENT_TOOLSDIRECTORY=/opt/hostedtoolcache
+ RUN mkdir ${AGENT_TOOLSDIRECTORY}
The change in image size seems negligible (1.56GB -> 1.58GB
).
What do you think about changing this or providing a second image with a different base?
Hi!,
I'm trying to deploy a self-hosted runner and came across this wonderful repo.
Everything worked perfectly -- until I tried using the
setup-python
action.. which fails with the following error:According to some notes found here, I hoped it would be enough to extend the docker image as follows:
However, still no luck: same error after rebuilding and restarting the docker image.
The above article also mentions that the linux runner can't be started as root. However, it seems that your image uses root, so I assume ownership/permissions shouldn't be the problem here(?).
Do you happen to have any experience with this or related issues?
Best, Thomas