mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-10-04 17:49:25 +00:00
Update Dockerfile to use entrypoint.sh instead of start.sh
This commit is contained in:
6
.github/runner/Dockerfile
vendored
6
.github/runner/Dockerfile
vendored
@@ -18,13 +18,13 @@ RUN cd /home/docker && mkdir actions-runner && cd actions-runner \
|
||||
|
||||
RUN chown -R docker ~docker && /home/docker/actions-runner/bin/installdependencies.sh
|
||||
|
||||
COPY start.sh start.sh
|
||||
COPY entrypoint.sh entrypoint.sh
|
||||
|
||||
# make the script executable
|
||||
RUN chmod +x start.sh
|
||||
RUN chmod +x entrypoint.sh
|
||||
|
||||
# since the config and run script for actions are not allowed to be run by root,
|
||||
# set the user to "docker" so all subsequent commands are run as the docker user
|
||||
USER docker
|
||||
|
||||
ENTRYPOINT ["./start.sh"]
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
Reference in New Issue
Block a user