mirror of
https://github.com/Magnus167/rustframe.git
synced 2025-08-20 07:09:59 +00:00
Update Dockerfile to use entrypoint.sh instead of start.sh
This commit is contained in:
parent
d81da1786d
commit
8417b9e5d7
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
|
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
|
# 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,
|
# 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
|
# set the user to "docker" so all subsequent commands are run as the docker user
|
||||||
USER docker
|
USER docker
|
||||||
|
|
||||||
ENTRYPOINT ["./start.sh"]
|
ENTRYPOINT ["./entrypoint.sh"]
|
Loading…
x
Reference in New Issue
Block a user