-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
clean: | ||
@echo "Cleaning up Artifacts" | ||
@find . \( -name "*.jar" -o -name "*.zip" -o -name "*.rpm" -o -name "*.deb" \) -type f -delete | ||
|
||
prepare_repo: scripts/fetch-artifacts.sh | ||
@echo "Fetching all artifacts for repository target" | ||
@./scripts/fetch-artifacts.sh repository | ||
|
||
prepare_tengines: scripts/fetch-artifacts.sh | ||
@echo "Fetching all artifacts for tengines targets" | ||
@./scripts/fetch-artifacts.sh tengine | ||
|
||
prepare_ats: scripts/fetch-artifacts.sh | ||
@echo "Fetching all artifacts for ats targets" | ||
@./scripts/fetch-artifacts.sh ats | ||
|
||
prepare_search_enterprise: scripts/fetch-artifacts.sh | ||
@echo "Fetching all artifacts for Search Enterprise targets" | ||
@./scripts/fetch-artifacts.sh search/enterprise | ||
|
||
prepare_all: scripts/fetch-artifacts.sh | ||
@echo "Fetching all artifacts" | ||
@./scripts/fetch-artifacts.sh | ||
|
||
repo: prepare_repo | ||
@echo "Building repository image" | ||
@docker buildx bake --no-cache --progress=plain repository | ||
|
||
tengines: prepare_tengines | ||
@echo "Building Transform Egnine images" | ||
@docker buildx bake --no-cache --progress=plain tengines | ||
|
||
ats: prepare_ats prepare_tengines | ||
@echo "Building Transform Service images" | ||
@docker buildx bake --no-cache --progress=plain ats tengines | ||
|
||
search_enterprise: prepare_search_enterprise | ||
@echo "Building Search Enterprise images" | ||
@docker buildx bake --no-cache --progress=plain enterprise-search | ||
|
||
all: docker-bake.hcl prepare_all | ||
@echo "Building all images" | ||
@docker buildx bake --no-cache --progress=plain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Alfresco Docker images builder | ||
|
||
This projects aims at providing a quick and easy to build and maintain Alfresco | ||
Docker images. | ||
|
||
## Getting started quickly | ||
|
||
If you do not plan on applying specific customizations but just want to get | ||
They latest Alfresco images updated (e.g. with the latest OS security patches), | ||
you can simply run the command below from the root of this project: | ||
|
||
```bash | ||
make all | ||
``` | ||
|
||
This command will build locally all the docjker images this project offers. | ||
At the time of writing, these are: | ||
|
||
* Alfresco Content Repository (Enterprise) 23.2.2 | ||
* Alfresco Search Enterprise 4.4.0 | ||
* Alfresco Transformation Services 4.1.3 | ||
|
||
## Building the specific images | ||
|
||
If you want to build a specific image, you can run one of the following make target: | ||
|
||
* repo: build the Alfresco Content Repository image | ||
* search_enterprise: build the Alfresco Search Enterprise images | ||
* ats: build the Alfresco Transformation Service images | ||
|
||
## Customizing the images | ||
|
||
### Customizing the Alfresco Content Repository image | ||
|
||
The Alfresco Content Repository image can be customized by adding different | ||
types of files in the right locations: | ||
|
||
* Alfresco Module Packages (AMPs) files in the [amps}(repository/amps/README.md) folder | ||
* Additional JAR files for the JRE in the [libs](repository/libs/README.md) folder |