mirror of
https://github.com/ublue-os/forge.git
synced 2025-07-05 09:15:45 +03:00
feat(main): keep ansible running
this allows us to run any playbook after the setup is done
This commit is contained in:
parent
b0470d1610
commit
101652eb31
4 changed files with 13 additions and 8 deletions
|
@ -17,4 +17,8 @@ RUN pipx install poetry==${POETRY_VERSION}
|
|||
WORKDIR /ansible
|
||||
COPY . .
|
||||
RUN poetry install --no-root
|
||||
CMD poetry env use .venv/bin/python
|
||||
CMD poetry env use .venv/bin/python && \
|
||||
chmod +x entrypoint.sh
|
||||
|
||||
# Set entrypoint
|
||||
ENTRYPOINT [ "/ansible/entrypoint.sh" ]
|
3
ansible/entrypoint.sh
Executable file
3
ansible/entrypoint.sh
Executable file
|
@ -0,0 +1,3 @@
|
|||
#! /bin/bash
|
||||
## Keep container running
|
||||
sleep infinity
|
Loading…
Add table
Add a link
Reference in a new issue