mirror of
https://github.com/aleleba/docker-github-actions-runner.git
synced 2025-07-03 14:28:17 -06:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
fb431da060 | |||
d57fcf068b |
@ -15,8 +15,11 @@ RUN apt-get -y install vim
|
||||
# set the github runner version
|
||||
ARG RUNNER_VERSION="2.311.0"
|
||||
|
||||
# update the base packages and add a non-sudo user
|
||||
RUN apt-get update -y && apt-get upgrade -y && useradd -m docker \
|
||||
# update the base packages, add a non-sudo user, and install Xvfb
|
||||
RUN apt-get update -y && \
|
||||
apt-get upgrade -y && \
|
||||
apt-get install -y xvfb libglib2.0-0 && \
|
||||
useradd -m docker && \
|
||||
echo 'docker ALL=(ALL) NOPASSWD:ALL' | tee -a /etc/sudoers
|
||||
|
||||
# install python and the packages the your code depends on along with jq so we can parse JSON
|
||||
|
Reference in New Issue
Block a user