3 Commits

Author SHA1 Message Date
924abf468d Merge pull request 'feat (docker) : add standalone docker image' (#2) from docker into master
All checks were successful
Cadoles/mktools/pipeline/head This commit looks good
Reviewed-on: #2
Reviewed-by: wpetit <wpetit@cadoles.com>
2025-03-31 10:47:44 +02:00
65c1aa57fe feat (docker) : add standalone docker image
All checks were successful
Cadoles/mktools/pipeline/head This commit looks good
Cadoles/mktools/pipeline/pr-master This commit looks good
2025-03-28 13:54:35 +01:00
f249f78d9f chore: update changelog
All checks were successful
Cadoles/mktools/pipeline/head This commit looks good
2025-01-08 10:54:44 +01:00
4 changed files with 33 additions and 3 deletions

View File

@ -1,6 +1,6 @@
<a name="unreleased"></a>
## [Unreleased]
<a name="2025.1.8-stable.1054.7e5613b"></a>
## [2025.1.8-stable.1054.7e5613b] - 2025-01-08
### Bug Fixes
- typo
- **install:** correctly inject tools dir into gitignore
@ -89,7 +89,8 @@ _Nothing functionally significant._
- initial commit
[Unreleased]: https://forge.cadoles.com/Cadoles/mktools/compare/2023.8.25-stable.1621.af9c7e6...HEAD
[Unreleased]: https://forge.cadoles.com/Cadoles/mktools/compare/2025.1.8-stable.1054.7e5613b...HEAD
[2025.1.8-stable.1054.7e5613b]: https://forge.cadoles.com/Cadoles/mktools/compare/2023.8.25-stable.1621.af9c7e6...2025.1.8-stable.1054.7e5613b
[2023.8.25-stable.1621.af9c7e6]: https://forge.cadoles.com/Cadoles/mktools/compare/2023.8.25-stable.1617.35625f6...2023.8.25-stable.1621.af9c7e6
[2023.8.25-stable.1617.35625f6]: https://forge.cadoles.com/Cadoles/mktools/compare/2023.8.25-stable.1609.4d31268...2023.8.25-stable.1617.35625f6
[2023.8.25-stable.1609.4d31268]: https://forge.cadoles.com/Cadoles/mktools/compare/2023.8.25-stable.1606.be97e77...2023.8.25-stable.1609.4d31268

View File

@ -31,6 +31,12 @@ Tâches [Make](https://fr.wikipedia.org/wiki/Make) génériques à utiliser de p
3. Vous pouvez commencer à utiliser les tâches Make partagées !
### Utilisation standalone
1. Lancer l'image docker en créant un volume avec les fichers de votre projet dans /code
```
docker run -it -v $PWD:/code reg.cadoles.com/cadoles/mktools:1.0 mkt-project-version
```
## Tâches disponibles
|Tâches|Description|Documentation|

21
misc/image/Dockerfile Normal file
View File

@ -0,0 +1,21 @@
FROM alpine:3.21
RUN apk update --no-cache \
&& apk add --no-cache \
make \
curl \
bash \
git \
&& mkdir /mktools
COPY ./tasks/* mktools/
RUN touch /mktools/Makefile \
&& echo "-include /mktools/*.mk" >> /mktools/Makefile \
&& mkdir /code \
&& git config --global --add safe.directory /code
WORKDIR /code
COPY --chmod=550 ./misc/image/mktools /usr/local/bin/mktools
ENTRYPOINT [ "mktools" ]

2
misc/image/mktools Executable file
View File

@ -0,0 +1,2 @@
#!/usr/bin/env sh
make -f /mktools/Makefile $1