| 1234567891011 |
- # Utilisez une image base de votre choix (ici, nous utilisons Ubuntu)
- FROM ubi8/ubi:latest
- # Copiez votre script bash dans le conteneur
- COPY entrypoint.sh /entrypoint.sh
- # Rendez le script exécutable
- RUN chown -R 0:0 /entrypoint.sh && chmod -R g+rwx /entrypoint.sh
- # Commande à exécuter quand le conteneur se lance (ici, elle est optionnelle)
- CMD ["/bin/bash", "-c", "/entrypoint.sh"]
|