Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OPSEXP-2922 Describe how to build older versions with make #115

Merged
merged 6 commits into from
Nov 13, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Bake](https://docs.docker.com/build/bake/).
- [Supported Architectures](#supported-architectures)
- [Targeting a specific architecture](#targeting-a-specific-architecture)
- [Multi-arch images](#multi-arch-images)
- [Building older versions](#building-older-versions)
- [Testing locally](#testing-locally)
- [Testing with helm](#testing-with-helm)
- [Testing with docker compose](#testing-with-docker-compose)
Expand Down Expand Up @@ -196,6 +197,20 @@ export REGISTRY=myecr.domain.tld REGISTRY_NAMESPACE=myalfrescobuilds TARGETARCH=
docker buildx bake repo --set *.output=type=registry,push=true
```

## Building older versions

To build older version pass `ACS_VERSION` env to make command.
- ACS 23 (current) - `ACS_VERSION=23` - set by default
- ACS 7.4 - `ACS_VERSION=74`
- ACS 7.3 - `ACS_VERSION=73`

```sh
make enterprise ACS_VERSION=74
gionn marked this conversation as resolved.
Show resolved Hide resolved
```

Preferred way to build older versions is to do it with use of `make` command as
it sets the correct version of Tomcat based on the ACS version.
pmacius marked this conversation as resolved.
Show resolved Hide resolved

## Testing locally

Once the images are built, you can test them locally using either Helm or Docker Compose.
Expand Down
Loading