Skip to content

Commit

Permalink
Add edition-specific targets in makefile (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
gionn authored Oct 28, 2024
1 parent a473761 commit 785f4f8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,17 @@ prepare_tengines: scripts/fetch-artifacts.sh
all: docker-bake.hcl prepare setenv
@echo "Building all images"
docker buildx bake ${DOCKER_BAKE_ARGS}
$(call grype_scan,$@)

enterprise: docker-bake.hcl prepare setenv
@echo "Building all community images"
docker buildx bake ${DOCKER_BAKE_ARGS} $@
$(call grype_scan,$@)

community: docker-bake.hcl prepare setenv
@echo "Building all community images"
docker buildx bake ${DOCKER_BAKE_ARGS} $@
$(call grype_scan,$@)

adf_apps: docker-bake.hcl prepare_adf setenv
@echo "Building ADF Apps images"
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,13 @@ Alfresco images updated (e.g. with the latest OS security patches), you can
simply run the command below from the root of this project:

```sh
make all
make enterprise
```

or for Community edition:

```sh
make community
```

This command will build locally all the docker images this project offers.
Expand Down

0 comments on commit 785f4f8

Please sign in to comment.