mirror of
https://github.com/actions/actions-runner-controller.git
synced 2025-12-25 19:19:52 +08:00
Removed modprobe Script (#1247) [skip ci]
* Removed `modprobe` Script I was able to find out that this script originates from https://github.com/docker-library/docker/blob/master/modprobe.sh but our image does not have `lsmod` nor `modprobe` installed. Hence, if it were in use, it would fail every time. 🤔 * fix: correct command order Co-authored-by: toast-gear <toast-gear@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
a37b4dfbe3
commit
6288036ed4
@@ -100,8 +100,9 @@ RUN mkdir /opt/hostedtoolcache \
|
||||
|
||||
# We place the scripts in `/usr/bin` so that users who extend this image can
|
||||
# override them with scripts of the same name placed in `/usr/local/bin`.
|
||||
COPY modprobe entrypoint.sh startup.sh logger.bash /usr/bin/
|
||||
COPY entrypoint.sh logger.bash startup.sh /usr/bin/
|
||||
COPY supervisor/ /etc/supervisor/conf.d/
|
||||
RUN chmod +x /usr/bin/startup.sh /usr/bin/entrypoint.sh
|
||||
|
||||
# arch command on OS X reports "i386" for Intel CPUs regardless of bitness
|
||||
RUN export ARCH=$(echo ${TARGETPLATFORM} | cut -d / -f2) \
|
||||
|
||||
Reference in New Issue
Block a user