Skip to content

Commit d4d4f9f

Browse files
authored
Updated to Redhat 8 Universal Base Image. (#24)
1 parent 42853bc commit d4d4f9f

File tree

11 files changed

+34
-36
lines changed

11 files changed

+34
-36
lines changed

CODE_OF_CONDUCT.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@ We pledge to act and interact in ways that contribute to an open, welcoming, div
1010

1111
Examples of behavior that contribute to a positive environment for our project and community include:
1212

13-
* Demonstrating empathy and kindness toward other people
14-
* Being respectful of differing opinions, viewpoints, and experiences
15-
* Giving and gracefully accepting constructive feedback
16-
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17-
* Focusing on what is best, not just for us as individuals but for the overall community
13+
* Demonstrating empathy and kindness toward other people
14+
* Being respectful of differing opinions, viewpoints, and experiences
15+
* Giving and gracefully accepting constructive feedback
16+
* Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17+
* Focusing on what is best, not just for us as individuals but for the overall community
1818

1919
Examples of unacceptable behavior include:
2020

21-
* The use of sexualized language or imagery, and sexual attention or advances of any kind
22-
* Trolling, insulting or derogatory comments, and personal or political attacks
23-
* Public or private harassment
24-
* Publishing others’ private information, such as a physical or email address, without their explicit permission
25-
* Other conduct which could reasonably be considered inappropriate in a professional setting
21+
* The use of sexualized language or imagery, and sexual attention or advances of any kind
22+
* Trolling, insulting or derogatory comments, and personal or political attacks
23+
* Public or private harassment
24+
* Publishing others’ private information, such as a physical or email address, without their explicit permission
25+
* Other conduct which could reasonably be considered inappropriate in a professional setting
2626

2727
## Our Responsibilities
2828

@@ -36,7 +36,7 @@ This Code of Conduct applies when an individual is representing the project or i
3636

3737
## Enforcement
3838

39-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by first contacting the project team. Oversight of Adobe projects is handled by the Adobe Open Source Office, which has final say in any violations and enforcement of this Code of Conduct and can be reached at [email protected]. All complaints will be reviewed and investigated promptly and fairly.
39+
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by first contacting the project team. Oversight of Adobe projects is handled by the Adobe Open Source Office, which has final say in any violations and enforcement of this Code of Conduct and can be reached at <[email protected]>. All complaints will be reviewed and investigated promptly and fairly.
4040

4141
The project team must respect the privacy and security of the reporter of any incident.
4242

@@ -46,25 +46,25 @@ Project maintainers who do not follow or enforce the Code of Conduct may face te
4646

4747
Project maintainers will follow these Community Impact Guidelines in determining the consequences for any action they deem to be in violation of this Code of Conduct:
4848

49-
**1. Correction**
49+
### 1. Correction
5050

5151
Community Impact: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
5252

5353
Consequence: A private, written warning from project maintainers describing the violation and why the behavior was unacceptable. A public apology may be requested from the violator before any further involvement in the project by violator.
5454

55-
**2. Warning**
55+
### 2. Warning
5656

5757
Community Impact: A relatively minor violation through a single incident or series of actions.
5858

5959
Consequence: A written warning from project maintainers that includes stated consequences for continued unacceptable behavior. Violator must refrain from interacting with the people involved for a specified period of time as determined by the project maintainers, including, but not limited to, unsolicited interaction with those enforcing the Code of Conduct through channels such as community spaces and social media. Continued violations may lead to a temporary or permanent ban.
6060

61-
**3. Temporary Ban**
61+
### 3. Temporary Ban
6262

6363
Community Impact: A more serious violation of community standards, including sustained unacceptable behavior.
6464

6565
Consequence: A temporary ban from any interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Failure to comply with the temporary ban may lead to a permanent ban.
6666

67-
**4. Permanent Ban**
67+
### 4. Permanent Ban
6868

6969
Community Impact: Demonstrating a consistent pattern of violation of community standards or an egregious violation of community standards, including, but not limited to, sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
7070

@@ -76,4 +76,4 @@ This Code of Conduct is adapted from the [Contributor Covenant][homepage], versi
7676
available at [http://contributor-covenant.org/version/2/1][version]
7777

7878
[homepage]: http://contributor-covenant.org
79-
[version]: http://contributor-covenant.org/version/2/1
79+
[version]: http://contributor-covenant.org/version/2/1

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ feel free to reach out to existing committers to have a conversation about that.
4444

4545
## Security Issues
4646

47-
Security issues shouldn't be reported on this issue tracker. Instead, [file an issue to our security experts](https://helpx.adobe.com/security/alertus.html).
47+
Security issues shouldn't be reported on this issue tracker. Instead, [file an issue to our security experts](https://helpx.adobe.com/security/alertus.html).

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2023 Adobe Systems Incorporated. All rights reserved.
2+
# Copyright (c) 2024 Adobe Systems Incorporated. All rights reserved.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
@@ -13,12 +13,12 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515
#
16-
FROM --platform=$TARGETPLATFORM centos:7
16+
FROM --platform=$TARGETPLATFORM redhat/ubi8:8.8
1717

1818
# Install HTTPD
19-
RUN yum -y update && yum -y install httpd mod_ssl procps haproxy iputils tree telnet less && yum clean all
19+
RUN yum -y update && yum -y install httpd mod_ssl procps haproxy iputils less openssl && yum clean all
2020

21-
# Remove default CentOS config
21+
# Remove default httpd config
2222
RUN rm -rf /etc/httpd/conf/* && rm -rf /etc/httpd/conf.d/* && rm -rf /etc/httpd/conf.modules.d/*
2323

2424
# Copy the AMS base files into the image.

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
same "printed page" as the copyright notice for easier
188188
identification within third-party archives.
189189

190-
Copyright 2023 [name of copyright owner]
190+
Copyright 2024 Adobe Systems Incorporated.
191191

192192
Licensed under the Apache License, Version 2.0 (the "License");
193193
you may not use this file except in compliance with the License.

NOTICE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
AEM Dispatcher Docker Container
2-
Copyright 2023 Adobe Systems Incorporated
2+
Copyright 2024 Adobe Systems Incorporated
33

44
This software is licensed under the Apache License, Version 2.0 (see
55
LICENSE file).

PULL_REQUEST_TEMPLATE.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<!--- Include details of your testing environment, and the tests you ran to -->
2222
<!--- see how your change affects other areas of the code, etc. -->
2323

24-
## Screenshots (if appropriate):
24+
## Screenshots (if appropriate)
2525

2626
## Types of changes
2727

@@ -31,7 +31,7 @@
3131
- [ ] New feature (non-breaking change which adds functionality)
3232
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
3333

34-
## Checklist:
34+
## Checklist
3535

3636
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
3737
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
@@ -42,4 +42,4 @@
4242
- [ ] I have updated the documentation accordingly.
4343
- [ ] I have read the **CONTRIBUTING** document.
4444
- [ ] I have added tests to cover my changes.
45-
- [ ] All new and existing tests passed.
45+
- [ ] All new and existing tests passed.

README.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Dispatcher Docker image
33

44
This is a simple dispatcher image that is very close to an AMS setup.
5-
It builds on top of [centos7](https://hub.docker.com/_/centos/) since the AMS dispatcher is build on top of Redhat Enterprise Linux 7.7 and contains the default AMS Dispatcher 2.6 configuration.
5+
It builds on top of [Redhat Universal Base Image 8.8](https://hub.docker.com/r/redhat/ubi8) and contains the default AMS Dispatcher 2.6 configuration.
66

77
The default publish host has been set to `publish.docker.local` and the default renderer is set to `host.docker.internal:4503` which should point to the AEM instance running on your local computer.
88

@@ -21,7 +21,7 @@ docker buildx create --use
2121
docker buildx build --load -t dispatcher --platform=linux/amd64 .
2222
```
2323

24-
To build for Apple M1/M2, use `--platform=linux/arm64` instead
24+
To build for Apple Silicon or Windows ARM, use `--platform=linux/arm64` instead
2525

2626
Multi-arch images can be built, but can only be pushed to a remote registry and not be directly loaded in Docker desktop.
2727

@@ -61,8 +61,7 @@ docker run -p 80:8080 -p 443:8443 -itd --rm --env-file scripts/env.sh --name dis
6161

6262
### Using Docker Compose
6363

64-
Provided `docker-compose.yaml` can be modified to suit your needs. In a typical scenario you would incorporate it to your
65-
own Docker Compose configuration.
64+
Provided `docker-compose.yaml` can be modified to suit your needs. In a typical scenario you would incorporate it to your own Docker Compose configuration.
6665

6766
You can start dispatcher with Docker Compose using script `dispatcher-docker-compose`
6867

@@ -74,7 +73,6 @@ Following folders are mounted from the host os to make it easier to inspect cach
7473
| mnt/publish_docroot | Publish cached files |
7574
| mnt/log | Dispatcher logs |
7675

77-
7876
## Checking the container's current state
7977

8078
```shell
@@ -85,7 +83,7 @@ CONTAINER ID IMAGE COMMAND CREATED STATUS
8583

8684
## Testing your AEM installation
8785

88-
The dispatcher maps `publish.docker.local` to the local publisher instance on port 4503.
86+
The dispatcher maps `publish.docker.local` to the local publisher instance on port 4503.
8987
Run the publisher and navigate to [http://we-retail.docker.local/content/we-retail/language-masters/en.html](http://we-retail.docker.local/content/we-retail/language-masters/en.html)
9088

9189
## Adapting your localhost

haproxy/haproxy.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2023 Adobe Systems Incorporated. All rights reserved.
2+
# Copyright (c) 2024 Adobe Systems Incorporated. All rights reserved.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

scripts/env.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2023 Adobe Systems Incorporated. All rights reserved.
2+
# Copyright (c) 2024 Adobe Systems Incorporated. All rights reserved.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.

scripts/launch.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
#
3-
# Copyright (c) 2023 Adobe Systems Incorporated. All rights reserved.
3+
# Copyright (c) 2024 Adobe Systems Incorporated. All rights reserved.
44
#
55
# Licensed under the Apache License, Version 2.0 (the "License");
66
# you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)